@BEGINEVENTS
;@DEBUG
@INITFLAG

; Events file for El Aurens Scenario
; v2.3
; Dave (Boco) Wylie, Copyright 2005
; Civ II ToT Original Game extension
; Copyright 1999 MicroProse Software

; Stack space needed 
; 17 delay modifiers on 060404
; 17 x 284 = 4,828
; 15 delay modifiers on 060404
; 15 x 284 = 4,260
; 14 delay modifiers on 060318
; 14 x 284 = 3,976
; 13 delay modifiers on 060223
; 13 x 284 = 3,692
; 36 delay modifiers on 060120
; 36 x 284 = 10,224
; 43 delay modifiers on 060111
; 43 x 284 = 12,212

;TODO
;x replace RT Jewish Legion -> CU Judeans with flag scheme
;x home redoubt in Dera'a to Riyaq
;- jewish legion = preq for 1918 ordnance
;x kefr under Deir ez-Zor; 
;x 1-2 more picquets in DeZ
;x entrench all redoubt systems in cities
;x unentrench all picquet lines in cities
;x icc coys in nhm; adj city pickaxes
;x cc bn -> 2x cc coy in hejaz ac bty
;x 1x picquet line -> redoubt system in Medain Salih
;x increase df of redoubt systems
;x rmv uboats on turn 0
;x repl rwy op div/mef with oetae under jeru
;x ren rwy op div/eef with rwy op div
;x make rwy op div/mef re/works coy indep (vet)
;x support with div train in 75,49
;x change allies to entente allies
;x RFC *Flight* in darfur
;x ICC Coys = vets
;x place kefrs under adwar camps
;x Rebalance 1917 Inf, Light Horse, NZMR, Yeomanry, using af and ign kasr
;x add 3 redoubt systems: ramleh, jaffa, jericho
;x remove camp from Beirut
;x add redoubt systems by Alexandretta
;x fix Muntafiq transporter
;x fix Maan garrison
;x change founder of Syrian cities
;x rmv barracks from damascus
;x depots in Tebuk
;+ italian diplomacy?
;x no pzkw in tebuk
;x armistice -> kill mittelmeer flot
;
;Develop flag scheme to prevent overproduction of Recce (FE2b) units (i.e. 14 Sqn (1916)).
;	CP Palestine Bde -> SF Ax+
;	CP Recce (FE2b) & CF Ax+ -> CU Recce (FE2b)

;*****************
;*** TEMPORARY ***
;*****************
;

@IF
ScenarioLoaded
;Turn
;turn=199
@THEN
PlayWaveFile 
Guinness.wav
;Transport
;unit=Bedouins
;state=On
;mode=Use
;type=3
;EnableTechnology
;whom=Turks
;technology=96
;value=2
@ENDIF

;@IF
;Turn
;turn=199
;@THEN
;BestowImprovement
;improvement=36
;race=Entente Allies
;capital=Yes
;wonders=No
;@ENDIF

;*************
;*** FLAGS ***
;*************
;
;Flag	Description				0 value	1 value

;A0 	French attitude			pissed 	happy
;;A1	El Aurens option			RT		not RT
;;A2	Gonsool Shayk Speer		RT		not RT
;;A3	Abram and Moses			RT		not RT
;;A4	Syrian Gates			RT		not RT
;A11 	Larry					alive		dead	
;;A12	Fensal				alive		dead	
;A12	Feisal				alive		dead	
;A14	Shakespear				alive		dead	
;A21  WF Withdrawal Order Issued	no		yes
;A31  Balfour built			no		yes
;A32	Gaza Captured			no		yes
;T11	Trens running		yes		no
;T12	New planes coming			yes		no


;******************
;*** EVENT LIST ***
;******************

;***************
;***DIPLOMACY***
;***************
;Allies cant talk
;Turks cant talk
;Sanussi cant talk
;Ruwalla cant talk
;Italians cant talk
;Germans cant talk
;CF A21+ & T9/18 -> BI Bulgarian Armistice
;CF A21+ & T10/18 -> BI German Armistice; Raze AsKorps; Txt
;CF A21+ & T10/18 -> Raze 300 FA
;CT Damascus -> GT Damascus Capture
;CT Aleppo -> GT Aleppos Capture; Neg AT+
;CT Aleppo -> Neg AL+

;**************
;*** ALLIES ***
;**************
;Initial OOB
;	At max hp depletion
;		53 Welsh (TF) 		- Alexandria
;		54E Anglian(TF)		- Port Suez, Ismailia
;		74 Yeomanry (2/3)		- Port Said, Kantara
;		74 Yeomanry (1/3)		- Alexandria
;		ANZAC Mtd Div		- Cairo
;		22Y/YMD	- Fayum
;		ECG Gbt	- Med, Sollum
;Matruh, Sollum have Ports of Transit
;	At less than max hp depletion
;		Indian EF E	- Kantara, Ismailia, Port Suez
;		10 Gurkhas	- Al Tur
;		Eastern F	- Al Tur
;		WFF		- Matruh, Port Suez
;		5Y/AMD	- Matruh
;		6Y/YMD	- Matruh
;		ICC Bn	- Giza
;		Bikanir	- Matruh, Alexandria, Kantara, Port Suez
;		ECG		- Siwa, Sollum, Sidi Barrani, Matruh
;		17 RFC	- Matruh, Suhaj, Obeid
;		14 RFC	- Suez
;		Raven		- Suez
;		RN Egypt	- Suez, Matruh
;
;UK Syrians (Suez) -> Txt
;CT Al Tur -> Txt - Sealift instructions
;UK Tribal Vols (Darfur) -> Txt
;T2/16 -> Raze Saudis
;T2/16 -> Raze RN E Med Sqn; Txt
;CP Indian Base Dept -> Raze Indian EF E; Txt
;CP Indian Base Dept -> Link 15 IS Cav Bde
;CP ANZAC Base Dept -> Txt
;T6/16 -> CU Recce (FE2b) (AFC 1 Sqn); Raze 17 Sqn (Det); Txt
;CP British Base Dept -> Link 42ELD; BI Repl Draft Camp; Txt
;CP British Base Dept -> Link 52 Lowland (TF)
;CP Egyptian Base Dept -> CU Boundary; Link Southern Force; Txt
;RT Labour Conscription -> CU RE/Works Coy (Rwy Op Div)
;CP McMahon-Arab Letters -> ET An Arab Revolt
;CP Sykes-Picot Agreement -> SF A0+
;;CP Garrison Bn -> CU Garrison Bn (in Kantara); Txt
;CP ASC MT Workshop -> CU Ford Lt Cars; Link Western Force; Txt
;RT An Arab Revolt -> CU Boundary; Link Sharifians; Txt
;RT An Arab Revolt -> CU Boundary; Link Red Sea Patrol
;RT An Arab Revolt -> CU RNAS Det
;CT Rabegh -> GT Rabeghs Capture
;CT Mecca -> CU Agayl Camelry; GT Meccas Capture; Txt
;CT Taif -> CU Camel Arty; Txt
;CT Umm Lejj -> CU Gebirgshaubitz; MU Yanbo; Txt
;CT Wejh -> GT Wejhs Capture; Txt
;RT Wejhs Capture & Audas Irregulars -> CU Lawrence
;RT Audas Irregulars -> CU Auda
;RT Audas Irregulars -> CU Agayl Camelry
;RT Audas Irregulars -> @NEWAIRLIFT ***
;CP Camel Transport Cps -> ET Imperial Camel Cps; Txt
;;CP Camel Transport Cps -> ET Desert Mtd Corps
;RT S Hejaz Mission -> CU Boundary; Link SHM; Txt
;RT S Hejaz Mission & RT Wejhs Capture -> CU Recce Flight; Raze Ben-my-chree; Txt
;RT 60th London -> CU 3xTerritorials; Link 60 London (TF); Txt
;RT Imperial Camel Cps -> Leo upgrade Camel Cps Bn -> Camel Cps Bde
;RT E Tank Company -> CU Mark IV Tanks; Link E Coy Tank Cps; Txt
;RT Lt Car Patrols -> CU 3x Ford Lt Cars
;RT 4th Lt Horse Bde -> CU Light Horse; Txt
;RT 60th London -> Raze 42ELD (d4); Txt
;CT El Arish -> GT El Arishs Capture; Txt
;CT Maghdaba -> Txt
;CT Rafa -> Txt; Raze Gahr ez Birj; ET Mnrettep Livalar; Txt
;CT Sollum (by Allies) -> GT CSIC near Bardia (Italians); CU 2x Garrison Bn (Allies)
;CT Sollum (by Allies) -> CU 3x AutoMG; MU to Akroma
;CT Bir Hakim -> GT No More Ikhawan
;CT Siwa Oasis (by Allies) -> GT Siwas Capture; CU Ikhawan; Txt
;CT Siwa Oasis -> CU Ikhawan; Txt
;RT EEF Eastern Force -> CU Siege Arty; Link Desert Mtd Cps; Txt
;RT EEF Eastern Force -> CU 2x Mountain Arty
;RT 75th Infantry -> CU 3x Territorials; Link 75 Inf (TF); Txt
;T 2/17 -> ET IJN Med Sqn
;RT IJN Med Sqn -> CU DD Flotilla; Txt
;RT Desert Mtd Corps -> CU Yeomanry; Link Yeomanry Mtd
;T 5/17 -> ET The Bull
;;CT Gaza -> GT Gazas Capture; Raze Garasha Bedu
;CT Gaza -> SF A32+; GT Gazas Capture; CU Dmdar Kolu (53PF/XX); Txt
;RT The Bull -> CU Boundary; Link 60 London (TF); Txt
;RT The Bull & CF A32- -> Txt
;RT The Bull & CF A32+ -> Txt
;CT Akaba -> GT Akabas Capture; CU EA Infantry; Txt
;;RT Akabas Capture & CF A11- -> CU Feisal
;RT RFC Upgrades -> CU 4x QF 3 20cwt AA; Link AA Group/RA
;RT RFC Upgrades -> Leo upgrade: 1AFC
;CP Palestine Bde -> Raze 14 (1916); CU Bomber (DH4) (14/1917); Txt
;CP Palestine Bde -> Raze Arabian Det 14C
;CP Palestine Bde -> CU Fighter (F2b) (111)
;CP Palestine Bde -> CU Bomber (DH4) (113)
;CP ASC Artillery Park -> CU Siege Arty; Txt
;RT N Hejaz Mission -> CU Rolls Royce AC; Link Hejaz AC Bty, N Hejaz Mission, MM au Hedjaz; Txt
;RT N Hejaz Mission -> CU Recce Flight
;RT Reg Arab Army -> CU Boundary; Link N Arab Army; Txt
;RT Reg Arab Army -> CU Boundary; Link E Arab Army
;RT Reg Arab Army -> Link S Arab Army
;CT Jerusalem -> GT Jerusalems Capture
;CP Balfour Declaration -> SF A31+; Txt
;RT Jerusalems Capture & CF A31+ -> CU Judeans; Link Royal Fusiliers
;RT LahoreMeerut Divs -> CU 3x IA Recruits; Link 3 Lahore; Txt
;RT LahoreMeerut Divs -> CU 2x IA Recruits; Link 7 Meerut (d1)
;;RT 7th Meerut -> CU Boundary; Link 7 Meerut; Txt
;RT 40th Army Wing -> CU Bomber (DH4) (142); Txt
;RT 40th Army Wing -> CU Bomber (DH4) (144)
;RT 40th Army Wing -> CU (d1) Fighter (F2b) (145)
;RT Euphrates Force -> CU IA Regulars; Link 15 Indian; Txt
;RT Euphrates Force -> CU IA Lancers; Link 11 Ind Cav Bde
;RT Euphrates Force -> CU Rolls Royce AC; Link xporter to Khan
;T = 2/18 -> ET WF Withdrawal Order; Txt
;T = 3/18 -> Txt
;RT WF Withdrawal Order -> Raze 5 Mtd Bde; BI Repl Draft Camp; Txt
;RT WF Withdrawal Order -> Raze YMD; BI Repl Draft Camp
;RT WF Withdrawal Order -> Raze 7 Mtd Bde; BI Labour Corps 2x Coy (2)
;RT WF Withdrawal Order -> Raze 74 Yeomanry, 10 Irish (NA), 53 Welsh (TF), 60 London (TF)
;RT WF Withdrawal Order -> Raze 52 Lowland (TF)
;RT WF Withdrawal Order -> Raze 75 Inf (TF)
;RT WF Withdrawal Order -> Raze Det E/Tank Cps
;RT Jewish Legion -> Link Royal Fusiliers; Txt
;T = 5/18 -> Raze LAC Bde/MEF, Euphrates Force; Txt
;T = 8/18 AND CF A0+ -> Link DFPS; GT Dt Franais; Txt
;RT Indianised Divs -> CU 3x IA Recruits; Link 10 Irish (I); Txt
;RT Indianised Divs -> CU 3x IA Recruits; Link 53 Welsh (I)
;RT Indianised Divs -> CU 3x IA Recruits; Link 60 London (I)
;RT Indianised Divs -> CU 3x IA Recruits; Link 75 Infantry (I)
;;RT 5th ALH Bde -> CU Light Horse (AMD); Txt
;RT 5th Lt Horse Bde -> Leo upgrade: CCBde -> Lt Horse
;RT 45 Cavalry -> CU 3x IA Lancers; Link 1 Mtd (I); Txt
;RT 45 Cavalry -> CU 2x IA Lancers; Link 2 Mtd (I) (d1)
;CP Adv Ordnance Stores -> CU 2x Siege Arty; Txt
;UK Lawrence -> Raze Hauran Bedu, Anazeh Qabila, Muntafiq Qabila; Txt
;UK Feisal -> Raze Harb, Juheina, Billi Bedu
;UK Feisal -> Raze Atiyeh, Dhumaniyeh, Bani Sakr; Txt
;UK Feisal -> Raze Hauran Bedu, Anazeh Qabila, Muntafiq Qabila
;UK Recce (FE2b) -> CT incr Prodn in Palestine Bde
;UK Bomber (DH4) -> CT incr Prodn in Palestine Bde
;UK Fighter (F2b) -> CT incr Prodn in Palestine Bde
;UK AnyUnit -> Txt

;*************
;*** TURKS ***
;*************
;UK Gunboat Flot (by U35) -> Txt
;CP Tribal Vols -> CU Tribal Vols in Sinai; MU to Kantara
;CF T11- -> CU Tren (10 xys along HRW); MU to Medina
;CT Maan -> SF T11+
;CT Amman -> SF T11+
;CT Romani -> SF T12+; GT 3nci Piade Firka; CU Gebirgshaubitz
;CT Romani -> GT Exp Korps Pascha I; CU EK Pascha I
;CF T12+ -> CU Pascha FA; MU to Romani
;RT 40th Army Wing -> SF T12-
;T=Jul/16 -> ET Hiaz KS
;RT Meccas Capture -> GT Hiaz KS
;RT Hiaz KS -> CU 2x Mtd Infantry; MU to Rabegh; not JO
;RT Hiaz KS -> CU Arab Camel Cps; MU to Rabegh; not JO
;RT Autokolonne Turkei -> CU Gebirgshaubitz (JO); MU to Rabegh
;T=Jan/17 -> ET Mnrettep Livalar
;T=3/17 -> CU Redoubt Systems (Gaza Line)
;RT Akabas Capture -> CU Mtd Infantry; MU to Akaba; not JO
;RT N Hejaz Mission -> CU Arab Camel Cps; MU Tafila; not JO
;CT Gaza -> SF A32+; GT Gazas Capture; CU Dmdar Kolu (53PF/XX); Txt
;CT Gaza -> CU Anatolians (7PF/XXII)
;CT Gaza -> CU Anatolians (3PF/XXII)
;CT Gaza -> CU Syrians (24PF/III)
;RT Gazas Capture -> CU Picquet Line (JO, 10 locs by Medina)
;CT Beersheba -> CU Syrians (16PF/AsKorps); Txt
;CT Beersheba -> CU Dmdar Kolu (54PF/AsKorps)
;CT Beersheba -> CU Dmdar Kolu (26PF/XX)
;CT Beersheba -> CU Dmdar Kolu (27PF/III)
;CT Beersheba -> CU EK Pascha II (AsKorps)
;CT Beersheba -> CU Svari (3S)
;CT Hebron -> CU Anatolians (7PF/XXII); Txt
;CT Hebron -> CU Anatolians (3PF/XXII)
;CT Hebron -> CU Syrians (24PF/III)
;CT Hebron -> CU Anatolians (16PF/AsKorps)
;CT Hebron -> CU EK Pascha II (AsKorps)
;CT Jaffa -> Txt
;CT Jerusalem -> CU Svari (2KS); Txt
;CT Jericho -> CU Svari (3S); MU Svari to Jericho; Txt
;CT Jericho -> CU Syrians (24PF/rdn Grup); Txt
;CT Homs -> CU Pzkw MG Zug (AsKorps); Txt
;RT Syrian Gates -> CU Orientkorps (OGK Yildirim)
;***************
;*** Sanussis ***
;***************
;CP POW Camp -> Txt
;T1 -> MU Slonta
;UK Ikhawan -> Txt
;CT Farafra -> CU Mujahid (Farafra)
;T=2/16 -> CU 2x Gebirgshaubitz by Siwa; MU to Siwa
;T=2/16 -> CU Adwar Camp by Siwa
;CP Ikhawan -> CU Ikhawan, not JO (in cities that should be occupied)
;;CP Ikhawan -> CU Muhafizia, JO; MU Slonta
;CP Mujahid -> CU Ikhawan, not JO (Sudan)
;CP Ikhawan -> CU Ikhawan, not JO in WD
;UK Guard -> CU 3x Mujahid in Nile Cities (in cities normally occupied by Allies)
;CT El Fasher -> CU Tribal Vols (Darfur)
;CT Farafra -> CU Mujahid (Farafra)
;**************
;*** NATURE ***
;**************
;Turn 2 -> Raze El Ottok
;**************
;*** Saudis ***
;**************
;CF A2- -> CU Ikhawan (not JO, Turabah)
;******************************
;*** UnitKilled->MU, Not JO ***
;******************************
;UK AnyUnit -> MU Tribal Vols to Kantara; CM -50
;UK Tribal Vols -> MU to Kantara
;UK Tribal Vols -> MU to Al Tur
;UK Muhafizia -> CU Muhafizia (d1); MU Muhafizia to Cyrene
;UK Ikhawan -> MU Ikhawan to Nahud
;UK Ikhawan -> MU Ikhawan to Moghara Oasis
;UK Ikhawan -> MU Ikhawan to Bahariya Oasis
;UK Ikhawan -> MU Ikhawan to Kharga Oasis
;UK Ikhawan -> MU Ikhawan to Dakhla Oasis
;UK Ikhawan -> MU Ikhawan to al-Shab
;UK Tren -> CG A+100
;UK Hejaz Rwy Stn -> CU Bedouins; CM T-200
;UK Hejaz Rwy Stn -> CU PzKw MG Zug; MU to Medina; Txt
;Saudi: UK Ikhawan -> CU Ikhawan; MU Hail
;Saudi: UK Ikhawan -> CU Ikhawan (d1, Turabah)
;UK Svari & RT Jerusalems Capture -> CU Svari (d1); MU Jerusalem
;UK EK Pascha I -> CU EK Pascha I (d1); MU to Romani
;UK EK Pascha II & RT Jerusalems Capture -> CU EK Pascha II (d1); MU Jaffa
;UK Feldhaubitz -> CU Feldhaubitz (d1); MU Rafa
;UK Gebirgshaubitz -> CU Gebirgshaubitz (d1); MU Rafa
;UK Sturmtruppen -> CU Sturmtruppen (d1); MU Jerusalem
;BU Mtd Infantry -> CU Arab Camel Cps; MU Rabegh
;BU Arab Camel Cps -> CU Tribal Vols; MU to Rabegh
;UK U-Boat & CF A32- -> MU Gaza
;UK U-Boat & CF A32+ -> MU Jaffa
;UK AutoMG -> CU AutoMG (d1)
;UK Agordat CC Bn -> CU Agordat CC Bn (d1)
;UK Naval Inf -> CU Mountain Arty; MU Zawia Masus

;SL -> DontPlayWonders
@IF
ScenarioLoaded
@THEN
DontPlayWonders
@ENDIF

@IF
NOSCHISM
defender=anybody
@THEN
@ENDIF

;***************
;***DIPLOMACY***
;***************

;	Ngtn Any to Any
;	No diplomacy Anybody with Anybody
;@IF
;Negotiation
;talker=Anybody
;talkertype=HumanOrComputer
;listener=Anybody
;listenertype=HumanOrComputer
;@THEN
;@ENDIF

;Allies cant talk
@IF
Negotiation
talkermask=0b00000000000000000000000000000001
listenermask=0b00001111110111111011111101111110
@THEN
@ENDIF

;Turks cant talk
@IF
Negotiation
  talkermask=0b00000000010000001000000100000010
listenermask=0b00001111101111110111111011111101
@THEN
@ENDIF

;Sanussi cant talk
@IF
Negotiation
  talkermask=0b00000000100000010000001000000100
listenermask=0b00001111011111101111110111111011
@THEN
@ENDIF

;Ruwalla cant talk
@IF
Negotiation
  talkermask=0b00000001000000100000010000001000
listenermask=0b00001110111111011111101111110111
@THEN
@ENDIF

;Italians cant talk
@IF
Negotiation
  talkermask=0b00000010000001000000100000010000
listenermask=0b00001101111110111111011111101111
@THEN
@ENDIF

;Ruwalla cant talk
@IF
Negotiation
  talkermask=0b00000100000010000001000000100000
listenermask=0b00001011111101111110111111011111
@THEN
@ENDIF

;Germans cant talk
@IF
Negotiation
  talkermask=0b00001000000100000010000001000000
listenermask=0b00000111111011111101111110111111
@THEN
@ENDIF

;ACA -> Zap Germans
;Use @CENTAURI for text
@IF
AlphaCentauriArrival
race=Entente Allies
size=AnySize
@THEN
;BestowImprovement
;improvement=64
;race=Entente Allies
;capital=Yes
;wonders=No
DestroyACivilization
whom=Mittelmeer Fl
@ENDIF

;CF A21+ & T9/18 -> BI Bulgarian Armistice
;A21+ = RT WF Withdrawals
@IF
CheckFlag
who=Entente Allies
flag=21
state=On
@AND
Turn
turn=232
@THEN
BestowImprovement
improvement=60
race=Entente Allies
capital=Yes
wonders=No
Text
The Bulgarian government capitulates!  The Salonika Army races toward Thrace, 
and LArme de lOrient toward Belgrade.  The Sublime Porte is isolated and near collapse.
EndText
@ENDIF

;CF A21+ & T10/18 -> BI German Armistice; Raze AsKorps; Txt
;A21+ = RT WF Withdrawals
;use @CENTAURI for text
@IF
CheckFlag
who=Entente Allies
flag=21
state=On
@AND
Turn
turn=233
@THEN
JustOnce
BestowImprovement
improvement=64
race=Entente Allies
capital=Yes
wonders=No
ChangeTerrain
map=3
terraintype=10
maprect
7,7,7,7,7,7,7,7
Text
The Asien Korps has withdrawn to Europe.
EndText
@ENDIF

;CF A21+ & T10/18 -> Raze 300 FA
;A21+ = RT WF Withdrawals
;use @CENTAURI for text
@IF
CheckFlag
who=Entente Allies
flag=21
state=On
@AND
Turn
turn=233
@THEN
JustOnce
ChangeTerrain
map=3
terraintype=10
maprect
7,39,7,39,7,39,7,39
@ENDIF

;CT Damascus -> GT Damascus Capture
;Aleppos Capture = preq for Mudros Armistice
@IF
CityTaken
city=Damascus
defender=Turks
attacker=Entente Allies
@THEN
GiveTechnology
technology=88
receiver=Entente Allies
Text
The Turks have released General Townshend from captivity to negotiate a ceasefire.
^
NOTE: The Mudros Armistice can be built.  Its completion leads to peace.
EndText
@ENDIF

;CT Aleppo -> GT Aleppos Capture; Neg AT+
@IF
CityTaken
city=Aleppo
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
GiveTechnology
technology=38
receiver=Entente Allies
Negotiator
who=Entente Allies
type=talker
state=Clear
@ENDIF

;CT Aleppo -> Neg AL+
@IF
CityTaken
city=Aleppo
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
Negotiator
who=Entente Allies
type=listener
state=Clear
@ENDIF

;**************
;*** ALLIES ***
;**************

;UK Syrians (Suez) -> Txt
@IF
UnitKilled
unit=Syrians
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
PlayWaveFile
LoATitle.wav
Text
After crossing the impassable Sinai, Turks surprise outposts on the Suez!
EndText
@ENDIF

;CT Al Tur -> Txt - Sealift instructions
@IF
CityTaken
city=Al Tur
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
Text
Surprising Turk irregulars, Gurkhas and Egyptians recapture the isolated port of Al Tur.
^
NOTE: Units can be shipped to Port Suez by typing n at anchor symbol NW of Al Tur.
EndText
@ENDIF

;T2/16 -> Raze Saudis
;not Gonsool Shakespear
@IF
Turn
turn=201
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
105,95,107,95,107,103,105,103
@ENDIF

;T2/16 -> Raze RN E Med Sqn; Txt
;AF4- = No Syrian Gates option
@IF
Turn
turn=201
@THEN
ChangeTerrain
map=2
terraintype=10
maprect
72,14,72,14,72,14,72,14
Text
After the last Gurkha leaves Gallipoli, the RN disbands the East Mediterranean Squadron.
EndText
@ENDIF

;T2/16 -> Raze Euphrates Force, Rwy Op Div/MEF, Indian Cav Div
;AF4- = No Abram and Moses option
@IF
Turn
turn=201
@THEN
ChangeTerrain
map=2
terraintype=10
maprect
98,4,104,4,104,10,98,10
@ENDIF

;CP Indian Base Dept -> Raze Indian EF E; Txt
@IF
CityProduction
builder=Entente Allies
improvement=19
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
10,8,14,8,14,8,10,8
Text
From the Indian Office:
^
Townshends Regatta up the Tigris has become a bit of a slog.  Hell need a few naiks from the IEF E on the canal to resume the march on Baghdad.
^
However, the Imperial Service brigades are now available for Canal Defences.  Splendid looking chaps!
^
A few bad eggs among the Labour Corps in Port Suez are stirring up some Mohammedan nonsense.  Provos have it well in hand.
EndText
@ENDIF

;CP Indian Base Dept -> Link 15 IS Cav Bde
@IF
CityProduction
builder=Entente Allies
improvement=19
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=4
maprect
20,42,20,42,20,42,20,42
@ENDIF

;CP ANZAC Base Dept -> Txt
@IF
CityProduction
builder=Entente Allies
improvement=20
@THEN
JustOnce
Text
The 3rd Light Horse Brigade remounts.  Scruffy lot, but in their GOCs 
words, Its no furphy that theyll give Abdul a real going over
EndText
@ENDIF

;CP British Base Dept -> Link 42ELD; BI Repl Draft Camp; Txt
;BI in Cairo
@IF
CityProduction
builder=Entente Allies
improvement=29
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=4
maprect
12,44,12,44,12,44,12,44
BestowImprovement
improvement=2
race=Entente Allies
capital=No
wonders=No
Text
The 42nd East Lancashire and 52nd Scottish Lowland Divs are assembling near Cairo.
Zeitouns Bullring echoes with the Lankies cries of Gi t Turk some clog pie!
EndText
@ENDIF

;CP British Base Dept -> Link 52 Lowland (TF)
@IF
CityProduction
builder=Entente Allies
improvement=29
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=4
maprect
58,8,58,8,58,8,58,8
@ENDIF

;CP Egyptian Base Dept -> CU Boundary; Link Southern Force; Txt
@IF
CityProduction
builder=Entente Allies
improvement=21
@THEN
JustOnce
;CreateUnit
;owner=
;unit=Boundary
;veteran=no
;homecity=none
;locations
;64,112,2
;endlocations
ChangeTerrain
map=2
terraintype=4
maprect
64,106,64,106,64,106,64,106
Text
^ The Egyptian Army mobilises:
^ Frontier District Administration troops near Matruh and the Suez Canal, 
^ The Darfur Field Force in the Sudan.  
^
^ Far away in the Sudan, Sultan ali Dinar waits behind the desert barrier 
^__at ElFasher, but he hasnt reckoned with the F.E.2bs and Fords of a 
^__modern army.
^
 The Indian Office request the despatch of the IEF E to Basra.
EndText
@ENDIF

;RT Labour Conscription -> CU RE/Works Coy (Rwy Op Div)
@IF
ReceivedTechnology 	
receiver=Entente Allies
technology=18
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=RE/Works Coy
veteran=no
homecity=Rwy Op Div
locations
4,8,2
endlocations
@ENDIF

;CT Jebel Hilla->CM -T; Txt
@IF
CityTaken
city=Jebel Hilla
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
;ChangeMoney
;receiver=Turks
;amount=-200
Text
Egyptians have defeated ali Dinars vanguard at Jebel Hilla.
EndText
@ENDIF

;CT Abiad->CM -T; Txt
@IF
CityTaken
city=Abiad
attacker=Entente Allies
defender=Turks
@THEN
;JustOnce
;ChangeMoney
;receiver=Turks
;amount=-200
CreateUnit
owner=Turks
unit=Tribal Vols
count=2
veteran=no
homecity=none
locations
10,102,2
endlocations
Text
Egyptians capture Abiad in Darfur.  Captured Fur boast of a host massing in El Fasher.
EndText
@ENDIF

;CT El Fasher->CM -T; Txt
@IF
CityTaken
city=El Fasher
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Tribal Vols
count=2
veteran=no
homecity=none
locations
3,105,2
endlocations
;ChangeMoney
;receiver=Turks
;amount=-200
Text
Sultan Dinars rule is broken.  Most Fur rebels surrender, but a few escape to Jebel Mara.
EndText
@ENDIF

;CP McMahon-Arab Letters -> ET An Arab Revolt (d1)
;Revolt starts turn after tech is achieved
@IF
CityProduction
builder=Entente Allies
improvement=41
@THEN
JustOnce
Delay
delay=1
EnableTechnology
whom=Entente Allies
technology=66
value=0
@ENDIF

;T5/16 -> Txt
@IF
Turn
turn=204
@THEN
JustOnce
Text
The scattered flights of the 17th Sqn are urgently needed at Salonika and will be withdrawn soon.
EndText
@ENDIF

;T6/16 -> CU Recce (FE2b) (AFC 1 Sqn); Raze 17 Sqn (Det); Txt
;Removed association with CP ANZAC BD to remove one delay statement
;Kantara
@IF
Turn
turn=205
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Recce (FE2b)
veteran=no
homecity=AFC 1 Sqn
locations
61,47
endlocations
ChangeTerrain
map=2
terraintype=10
maprect
37,69,37,69,37,69,37,69
Text
The 67th Sqn (Aus), RFC, arrives to replace the scattered flights of the 17th Sqn.
EndText
@ENDIF

;CP Sykes-Picot Agreement -> SF A0+
@IF
CityProduction
builder=Entente Allies
improvement=56
@THEN
Flag
Continuous
who=Entente Allies
state=On
flag=0
@ENDIF

;;CP Garrison Bn -> CU Garrison Bn (in Kantara); Txt
;@IF
;CityProduction
;builder=Entente Allies
;unit=Garrison Bn
;@THEN
;CreateUnit
;owner=Entente Allies
;unit=Garrison Bn
;veteran=no
;homecity=none
;locations
;61,47
;endlocations
;Text
;Another Garrison Bn has arrived.
;^
;^NOTE: Two new Garrison Bn units have appeared.  
;^ Place the one on the OOB map on sentry.
;^ Use the new one in Kantara.
;EndText
;@ENDIF

;RT An Arab Revolt -> CU Boundary; Link Sharifians; Txt
;//;F2- not Gonsool Shakespear
@IF
ReceivedTechnology 	
receiver=Entente Allies
technology=66
;@AND
;CheckFlag
;who=Entente Allies
;flag=2
;State=Off
@THEN
JustOnce
CreateUnit
owner=
unit=Boundary
veteran=no
homecity=none
locations
105,95,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
99,95,99,95,99,95,99,95
Text
Husseins Hashemites have raised the red banner, but will other Arabs to join the revolt?
EndText
@ENDIF

;RT An Arab Revolt -> CU Boundary; Link Red Sea Patrol
@IF
ReceivedTechnology
receiver=Entente Allies
technology=66
@THEN
JustOnce
CreateUnit
owner=
unit=Boundary
veteran=no
homecity=none
locations
92,114,2
endlocations
ChangeTerrain
terraintype=10
map=2
maprect
92,110,92,110,92,110,92,110
@ENDIF

;RT An Arab Revolt -> CU RNAS Det
@IF
ReceivedTechnology
receiver=Entente Allies
technology=66
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=RNAS Flight
veteran=yes
homecity=Ben-my-Chree
locations
93,109
veteran=yes
endlocations
@ENDIF

;CT Rabegh -> GT Rabeghs Capture
;Increase cost of research
@IF
CityTaken
city=Mecca
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
GiveTechnology
technology=49
receiver=Entente Allies
@ENDIF

;CT Mecca -> CU Agayl Camelry; GT Meccas Capture; Txt
@IF
CityTaken
city=Mecca
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
GiveTechnology
technology=72
receiver=Entente Allies
CreateUnit
owner=Entente Allies
unit=Agayl Camelry
veteran=no
homecity=Sharifians
count=2
locations
102,110
endlocations
Text
5,000 Turks surrender at Mecca.  Many Ottoman Arab POWs join the revolt.
EndText
@ENDIF

;BU Picquet Line->GT Artillery from Taif
;Triggers upgrade to Camel Arty
@IF
BribeUnit
who=Entente Allies
whom=Turks
unittype=60
@THEN
JustOnce
GiveTechnology
technology=73
receiver=Entente Allies
@ENDIF

;RT Arty from Taif->CU Syrians (Taif)
;Should be blocked if player is savvy
@IF
ReceivedTechnology
receiver=Entente Allies
technology=73
@THEN
CreateUnit
owner=Turks
unit=Syrians
veteran=no
homecity=VII
locations
105,111
endlocations
@ENDIF

;;CT Taif -> CU Camel Arty; Txt
;@IF
;CityTaken
;city=Taif
;attacker=Entente Allies
;defender=Turks
;@THEN
;JustOnce
;Delay
;delay=1
;CreateUnit
;owner=Entente Allies
;unit=Camel Arty
;veteran=no
;homecity=Sharifians
;locations
;105,111
;endlocations
;Text
;Arabs captured Taif with the Turk artillery intact.  
;Egyptian and ex-Ottoman gunners man the guns now.
;EndText
;@ENDIF

;CT Umm Lejj -> CU Gebirgshaubitz; MU Yanbo; Txt
;Medina
@IF
CityTaken
city=Um Lejj
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Gebirgshaubitz
veteran=no
homecity=Hiaz Seferi K
locations
98,90
endlocations
MoveUnit
unit=Gebirgshaubitz
owner=Turks
maprect
89,77,99,77,99,95,89,95
moveto
88,92
numbertomove=All
Text
After the capture of Um Lejj, one of our Liaisons, a Lt. Lawrence, urges 
that we continue the flanking march toward Wejh to relieve pressure on 
Rabegh.  The RN could support with gunfire and even ferry some troops.
EndText
@ENDIF

;CT Wejh -> GT Wejhs Capture; Txt
;//;RT El Aurens -> SF A1+
@IF
CityTaken
city=Wejh
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
GiveTechnology
technology=76
receiver=Entente Allies
Text
With the capture of Wejh, Arabs gain the upper hand.  The railway lies 
exposed to our demolition teams.  Besides isolating Medina, railway 
raids should attract more to the cause.
^
The Arab Bureau proposes that we recruit a force from the 
Ruwalla to attack Akaba from the rear
^
Toward this aim, Lt. Lawrence is crossing the desolate El Houl for Nebk.
EndText
@ENDIF

;RT Wejhs Capture & Audas Irregulars -> CU Lawrence
;RT Wejhs Capture -> @NEWAIRLIFT, Lawrence in Pedia
;SE of Nebk
;@NEWAIRLIFT
@IF
ReceivedTechnology
receiver=Entente Allies
technology=76
@AND
@IF
ReceivedTechnology
receiver=Entente Allies
technology=78
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Lawrence
veteran=yes
homecity=none
count=1
locations
99,49
endlocations
@ENDIF

;RT Audas Irregulars -> CU Auda
;SE of Nebk
@IF
ReceivedTechnology
receiver=Entente Allies
technology=78
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Auda
veteran=yes
homecity=Howeitat Bedu
count=1
locations
99,49
endlocations
@ENDIF

;RT Audas Irregulars -> CU Agayl Camelry
;Nebk, Jauf
@IF
ReceivedTechnology
receiver=Entente Allies
technology=78
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Agayl Camelry
veteran=no
homecity=none
count=1
locations
99,49
endlocations
@ENDIF

;CP Camel Transport Dept -> ET Imperial Camel Cps; Txt
@IF
CityProduction
builder=Entente Allies
improvement=53
@THEN
JustOnce
EnableTechnology
whom=Entente Allies
technology=4
value=0
Text
The AIF Remount Service is ready to procure more mounts for the Imperial Camel Corps.
EndText
@ENDIF

;RT S Hejaz Mission -> CU Boundary; Link SHM; Txt
@IF
ReceivedTechnology
receiver=Entente Allies
technology=48
@THEN
JustOnce
CreateUnit
owner=
unit=Boundary
veteran=no
homecity=none
locations
90,92,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
92,100,92,100,92,100,92,100
Text
Egyptian Regulars arrive in the Hejaz.
EndText
@ENDIF

;RT S Hejaz Mission & RT Wejhs Capture -> CU Recce Flight; Raze Ben-my-chree; Txt
;Changed trigger to remove delay modifier
;Wejh
@IF
ReceivedTechnology
receiver=Entente Allies
technology=48
@AND
ReceivedTechnology
receiver=Entente Allies
technology=76
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Recce Flight
veteran=no
homecity=Arabian Det 14C
locations
83,81
endlocations
ChangeTerrain
terraintype=10
map=2
maprect
40,78,40,78,40,78,40,78
Text
A flight of the RFC deploys to the Hejaz, while HMS Ben-my-Chree sails with her planes to the Aegean.
EndText
@ENDIF

;RT 60th London -> CU 3xTerritorials; Link 60 London (TF); Txt
@IF
ReceivedTechnology
receiver=Entente Allies
technology=45
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Territorials
veteran=no
homecity=60 London (TF)
locations
36,20,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
40,20,40,20,40,20,40,20
Text
Grateful to leave the Birdcage at Salonika, the 60th London Div assembles.
EndText
@ENDIF

;T1/17 -> Txt
@IF
Turn
turn=212
@THEN
Text
The 42nd Division will be withdrawn shortly.
EndText
@ENDIF

;T2/17 -> Raze 42ELD (d4); Txt
;;RT 60th London -> Raze 42ELD (d4); Txt
;Changed trigger to remove a delay modifier.  Also allows 42ELD to build Departure Timetable
@IF
Turn
turn=213
@THEN
JustOnce
ChangeTerrain
terraintype=10
map=2
maprect
12,40,12,40,12,44,12,44
Text
The 42nd E Lancashires depart for France, promising a a leather n timber kiss for the Hun!
EndText
@ENDIF

;RT E Tank Company -> CU Mark IV Tanks; Link Det E/Tank Cps; Txt
@IF
ReceivedTechnology
receiver=Entente Allies
technology=23
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Mark IV Tanks
veteran=no
homecity=Det E/Tank Cps
locations
2,22,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
6,22,6,22,6,22,6,22
Text
HMLS Kia-ora, Nutty, Ole-luk-die, Otazel, Pincher, Sir Archibald, Tiger, && War Baby
have arrived.  These tanks should lead a breakaway against Abdul!
EndText
@ENDIF

;RT Lt Car Patrols -> CU 3x Ford Lt Cars
;Independent
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=6
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Ford Lt Cars
count=3
veteran=no
homecity=none
locations
2,30,2
endlocations
@ENDIF

;CP ASC MT Workshop -> CU Ford Lt Cars; Link Western Force; Txt
;Western Force
;wake up didnt work
@IF
CityProduction
builder=Entente Allies
improvement=16
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Ford Lt Cars
veteran=no
homecity=Western Force
locations
2,30,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
6,30,6,30,6,30,6,30
Text
The new Army Service Corps Motor Transport 
Workshop refits several Light Car Patrols 
with more reliable Fords.
EndText
@ENDIF

;CT El Arish -> GT El Arishs Capture; Txt
;Preq for 4th Lt Horse Bde, 75th Infantry, EEF Eastern Force
@IF
CityTaken
city=El Arish
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
GiveTechnology
technology=80
receiver=Entente Allies
;ChangeMoney
;receiver=Turks
;amount=-200
Text
Our Troops have captured El Arish.  The Trans-Sinai railway 
is over halfway complete, and Palestine is within reach.
EndText
@ENDIF

;RT 4th Lt Horse Bde -> CU Light Horse; Link Australian Mtd; Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=27
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Light Horse
veteran=no
homecity=Australian Mtd
locations
18,18,2
endlocations
ChangeTerrain
map=2
terraintype=4
maprect
20,18,20,18,20,18,20,18
Text
The 4th Lt Horse brigade remounts.  They may be bludgers in 
the branding paddock, but these diggers are bonzer in a blue!
EndText
@ENDIF

;CT Maghdaba -> Txt
@IF
CityTaken
city=Maghdaba
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
Text
We have captured the wells at Maghdaba on the border of Palestine.
EndText
@ENDIF

;CT Rafa -> Txt; Raze Gahr ez Birj; ET Mnrettep Livalar; CU Feldhaubitz; Txt
;Gaz,Nab
;Elim Impassable Terrain before Gaza.
;;SF T16+
@IF
CityTaken
city=Rafa
attacker=Entente Allies
defender=Turks
@THEN
JustOnce
ChangeTerrain
terraintype=10
map=3
maprect
6,0,6,0,6,0,6,0
EnableTechnology
whom=Turks
technology=34
value=0
CreateUnit
owner=Turks
unit=Feldhaubitz
veteran=no
homecity=OGK Yildirim
locations
74,42
80,32
endlocations
Text
Crossing into Palestine, our troops have captured Rafa.  
The Turks withdraw behind formidable defenses at Gaza.
EndText
@ENDIF
;The Sinai Bedouins have stopped supporting the Turks.

;CT Sollum (by Allies) -> GT CSIC near Bardia (Italians); CU 2x Garrison Bn (Allies)
@IF
CityTaken
city=Sollum
attacker=Entente Allies
defender=Sanussis
@THEN
JustOnce
GiveTechnology
technology=79
receiver=Italians
CreateUnit
owner=Entente Allies
unit=Garrison Bn
count=2
veteran=no
homecity=CSI Cirenaica
locations
16,44
14,44
12,44
endlocations
ChangeTerrain
map=2
terraintype=4
maprect
6,48,6,48,6,48,6,48
@ENDIF

;CT Sollum (by Allies) -> CU AutoMG (Allies)
@IF
CityTaken
city=Sollum
attacker=Entente Allies
defender=Sanussis
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=AutoMG
veteran=no
homecity=CSI Cirenaica
locations
16,44
14,44
12,44
endlocations
@ENDIF

;CT Bir Hakim -> GT No More Ikhawan
@IF
CityTaken
city=Bir Hakim
attacker=Entente Allies
defender=Sanussis
@THEN
JustOnce
GiveTechnology
technology=36
receiver=Sanussis
@ENDIF

;CT Siwa Oasis (by Allies) -> GT Siwas Capture; CU Ikhawan; Txt
;Siwas Capture reduces population pollution by 1
@IF
CityTaken
city=Siwa Oasis
attacker=Entente Allies
defender=Sanussis
@THEN
JustOnce
GiveTechnology
technology=74
receiver=Entente Allies
CreateUnit
owner=Sanussis
unit=Ikhawan
veteran=yes
homecity=none
locations
24,64
endlocations
Text
The Allies strike deep into Sanussi territory and retake Siwa Oasis.
^
Intelligence from captured Turkish advisors allow us to crack a spy ring in Cairo.
^
NOTE: Odds of Civil Unrest is now lower there.
EndText
BestowImprovement
improvement=29
race=Entente Allies
capital=Yes
wonders=No
@ENDIF

;CT Siwa Oasis -> CU 2x Ikhawan; Txt
;threaten al-Shab
@IF
CityTaken
city=Siwa Oasis
attacker=Entente Allies
defender=Sanussis
@THEN
JustOnce
CreateUnit
owner=Sanussis
unit=Ikhawan
count=2
veteran=yes
homecity=none
Randomize
locations
30,106
41,115
49,115
79,115
endlocations
Text
Starving and dispirited, the Sanussis retreat into the desert.
EndText
@ENDIF

;RT EEF Eastern Force -> CU Siege Arty; Link Desert Mtd Cps; Txt
;Independent
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=39
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Siege Arty
veteran=no
homecity=none
locations
61,47,2
endlocations
ChangeTerrain
map=2
terraintype=4
maprect
22,8,22,8,22,8,22,8
Text
^60 pdr heavy and 3.7 pack howitzers have arrived.
^
^NOTE: Siege Arty are very powerful missile units that are in short supply.
EndText
@ENDIF

;;RT EEF Eastern Force -> CU 2x Mountain Arty
;;Desert Mtd Cps
;;wake up didnt work
;@IF
;ReceivedTechnology
;receiver=Entente Allies
;technology=39
;@THEN
;JustOnce
;CreateUnit
;owner=Entente Allies
;unit=Mountain Arty
;veteran=no
;homecity=Desert Mtd Cps
;locations
;22,4,2
;endlocations
;@ENDIF

;RT 75th Infantry -> CU 3x Territorials; Link 75 Inf (TF); Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=29
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Territorials
veteran=no
homecity=75 Inf (TF)
locations
54,16,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
58,16,58,16,58,16,58,16
Text
The 75th Infantry forms with units from India, Capetown, and England.
EndText
@ENDIF

;T 2/17 -> ET IJN Med Sqn
@IF
Turn
turn=213
@THEN
EnableTechnology
whom=Entente Allies
technology=59
value=0
@ENDIF

;RT IJN Med Sqn -> CU DD Flotilla; Txt
;Port Said
;shouldnt work if Syrian Gates is chosen.
@IF
ReceivedTechnology
receiver=Entente Allies
technology=59
;@AND
;CheckFlag
;who=Entente Allies
;state=Off
;flag=4
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=DD Flotilla
veteran=no
homecity=AN Div de Syrie
locations
61,43
endlocations
BestowImprovement
improvement=38
race=Entente Allies
capital=Yes
wonders=No
Text
The Japanese Navy deploys to patrol the Mediterranean, 
freeing a French flotilla for duty off Syria.
^
In addition, escorts are available for convoy duty.
^
^PLAYERS NOTE:
One more Escort Flotilla must be built by the Convoy Section 
to complete transfer of troops and labourers to France (Civ2 Spaceship).
EndText
@ENDIF

;RT Desert Mtd Corps -> CU Yeomanry; Link 7 Mtd Bde; Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=30
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Yeomanry
veteran=no
homecity=7 Mtd Bde
locations
18,10,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
20,10,20,10,20,10,20,10
Text
Two yeomanry brigades arrive from Salonika to bolster the Desert Mounted Corps.
EndText
@ENDIF

;RT Desert Mtd Corps -> CU Yeomanry; Link Yeomanry Mtd
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=30
@THEN
JustOnce
delay
delay=1
CreateUnit
owner=Entente Allies
unit=Yeomanry
veteran=no
homecity=Yeomanry Mtd
locations
18,30,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
20,30,20,30,20,30,20,30
@ENDIF

;T 5/17 -> ET The Bull
;A32- = Gaza not captured
;;Note: CT Gaza -> Disable Edmund Allenby follows
@IF
Turn
turn=216
;@AND
;CheckFlag
;who=Entente Allies
;state=Off
;flag=31
@THEN
JustOnce
EnableTechnology
whom=Entente Allies
technology=70
value=0
Text
Dissatisfaction grows with Gen. Murrays leadership!
EndText
@ENDIF

;RT The Bull -> CU Boundary; Link 10 Irish (NA); Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=70
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Territorials
veteran=no
homecity=10 Irish (NA)
locations
36,8,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
40,8,40,8,40,8,40,8
Text
Gen. Murray has methodically laid the groundwork for the assault 
on Palestine, but that is the task for a more aggressive commander.  
Gen. Edmund the Bull Allenby will replace him as GOC EEF.
EndText
@ENDIF
;With cries of Fag a Bealac, Johnny, the 10th Irish Div assembles near Suez.  

;;Too little space
;;RT The Bull & CF A32- -> Txt
;;A32- = Gaza not captured
;@IF
;ReceivedTechnology
;receiver=Entente Allies
;technology=70
;@AND
;CheckFlag
;who=Entente Allies
;state=Off
;flag=31
;@THEN
;JustOnce
;Text
;With Gaza still in Turkish hands, our demoralized troops lose confidence in Gen. Murray.  
;Its time for a change.  Gen. Edmund the Bull Allenby will replace him as GOC EEF.
;EndText
;@ENDIF

;;RT The Bull & CF A32+ -> CU Boundary; Link 60 London (TF); Txt
;;A32+ = Gaza captured
;@IF
;ReceivedTechnology
;receiver=Entente Allies
;technology=70
;@AND
;CheckFlag
;who=Entente Allies
;state=On
;flag=31
;@THEN
;JustOnce
;Text
;Gen. Murray has methodically laid the groundwork for the assault 
;on Palestine, but that is the task for a more aggressive commander.  
;Gen. Edmund the Bull Allenby will replace him as GOC EEF.
;EndText
;@ENDIF

;CT Akaba -> GT Akabas Capture; CU Boundary to wake up EA Infantry at Akaba Docks; Txt
;Independent
@IF
CityTaken
city=Akaba
attacker=Entente Allies
defender=Turks
;@AND
;CheckFlag
;who=Entente Allies
;flag=12
;State=Off
@THEN
GiveTechnology
technology=1
receiver=Entente Allies
CreateUnit
owner=Entente Allies
unit=EA Infantry
veteran=no
homecity=none
locations
82,54,2
endlocations
Text
Arabs capture Akaba, shocking Turks and Allies alike!
With the port as his base of operations, Feisal 
transforms the revolt into a pan-Arabian movement.
EndText
@ENDIF

;RT RFC Upgrades -> CU 4x QF 3 20cwt AA; Link AA Group/RA
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=44
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=QF 3 20cwt AA
veteran=no
homecity=GHQ Troops
locations
4,12,2
endlocations
ChangeTerrain
terraintype=0
map=2
maprect
6,12,6,12,6,12,6,12
Text
The WO authorises a major upgrade in theatre aircraft and AA artillery.
EndText
@ENDIF

;CP Palestine Bde -> Raze 14 (1916); CU Bomber (DH4) (14/1917); Txt
;Gaza then Port Said
@IF
CityProduction
builder=Entente Allies
improvement=52
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
37,53,37,53,37,53,37,53
CreateUnit
owner=Entente Allies
unit=Bomber (DH4)
veteran=no
homecity=14 Sqn (1917)
locations
74,42
61,43
endlocations
Text
The 14 Squadron, RFC, upgrades its aircraft.  Its Arabian Det. returns to the Sinai.
EndText
@ENDIF

;CP Palestine Bde -> Raze Arabian Det 14C
@IF
CityProduction
builder=Entente Allies
improvement=52
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
90,90,90,90,90,90,90,90
@ENDIF

;CP Palestine Bde -> CU Fighter (F2b) (111)
;Gaza then Port Said
@IF
CityProduction
builder=Entente Allies
improvement=52
@THEN
CreateUnit
owner=Entente Allies
unit=Fighter (F2b)
veteran=no
homecity=111 Sqn
locations
74,42
61,43
endlocations
Text
Two RFC squadrons arrive.  Our new Brisfits outclass the German planes!
EndText
@ENDIF

;CP Palestine Bde -> CU Bomber (DH4) (113)
;Gaza then Port Said
@IF
CityProduction
builder=Entente Allies
improvement=52
@THEN
CreateUnit
owner=Entente Allies
unit=Bomber (DH4)
veteran=no
homecity=113 Sqn
locations
74,42
61,43
endlocations
@ENDIF

;CP ASC Artillery Park -> CU Siege Arty; Txt; Link XX Corps
;XX Corps
;wake up didnt work
@IF
CityProduction
builder=Entente Allies
improvement=48
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Siege Arty
veteran=no
homecity=XX Corps
locations
42,4,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
42,6,42,6,42,6,42,6
Text
Our heavy artillery has obtained enough ordnance to support a major offensive.
For Christmas, the nation would enjoy news of our capture of Jerusalem!
EndText
@ENDIF

;CP ASC Artillery Park -> CU 3x Siege Arty; Link XXI Corps
;XXI Corps
;wake up didnt work
@IF
CityProduction
builder=Entente Allies
improvement=48
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Siege Arty
count=3
veteran=no
homecity=XXI Corps
locations
60,4,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
60,6,60,6,60,6,60,6
@ENDIF

;RT N Hejaz Mission -> CU Rolls Royce AC; Link Hejaz AC Bty, N Hejaz Mission, MM au Hedjaz; Txt
;;A3- = Abram and Moses not chosen
@IF
ReceivedTechnology
receiver=Entente Allies
technology=42
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Rolls Royce AC
veteran=no
homecity=Hejaz AC Bty
locations
70,52,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
80,54,80,54,80,54,80,54
Text
With a mix of Egyptian, Indian, and French units, the Hejaz Mission is underway!
EndText
@ENDIF

;RT N Hejaz Mission -> CU Recce Flight
@IF
ReceivedTechnology
receiver=Entente Allies
technology=42
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Recce Flight
veteran=no
homecity=X Flight
locations
82,54
endlocations
@ENDIF

;RT Reg Arab Army -> CU Camel Arty; Link N Arab Army; Txt
;N Arab Army
@IF
ReceivedTechnology
receiver=Entente Allies
technology=46
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Camel Arty
veteran=no
homecity=N Arab Army
locations
66,52,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
68,54,68,54,68,54,68,54
Text
Arabs form North, East, and South Armies.
EndText
@ENDIF

;RT Reg Arab Army -> CU Scouts
;N Arab Army
@IF
ReceivedTechnology
receiver=Entente Allies
technology=46
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Scouts
veteran=yes
homecity=N Arab Army
locations
66,52,2
endlocations
@ENDIF

;RT Reg Arab Army -> CU Camel Arty; Link E Arab Army
;E Arab Army
@IF
ReceivedTechnology
receiver=Entente Allies
technology=46
@THEN
JustOnce
;delay
;delay=1
CreateUnit
owner=Entente Allies
unit=Camel Arty
veteran=no
homecity=E Arab Army
locations
94,90,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
94,88,94,88,94,88,94,88
;Text
;After tapping the treasury for some filoosh, Agayl Camelry camelry help besiege Medina and ;Hail.
;EndText
;ChangeMoney
;receiver=Entente Allies
;amount=-100
@ENDIF

;RT Reg Arab Army -> CU Scouts
;E Arab Army
@IF
ReceivedTechnology
receiver=Entente Allies
technology=46
@THEN
JustOnce
;delay
;delay=1
CreateUnit
owner=Entente Allies
unit=Scouts
veteran=yes
homecity=E Arab Army
locations
94,90,2
endlocations
@ENDIF

;RT Reg Arab Army -> CU Camel Arty; Link S Arab Army
@IF
ReceivedTechnology
receiver=Entente Allies
technology=46
@THEN
JustOnce
;delay
;delay=1
CreateUnit
owner=Entente Allies
unit=Camel Arty
veteran=no
homecity=S Arab Army
locations
94,94,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
94,96,94,96,94,96,94,96
@ENDIF

;RT Reg Arab Army -> CU Scouts
;S Arab Army
@IF
ReceivedTechnology
receiver=Entente Allies
technology=46
@THEN
JustOnce
;delay
;delay=1
CreateUnit
owner=Entente Allies
unit=Scouts
veteran=yes
homecity=S Arab Army
locations
94,94,2
endlocations
@ENDIF

;CT Jerusalem -> GT Jerusalems Capture
;Preq for 40th Army Wing
@IF
CityTaken
city=Jerusalem
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
GiveTechnology
technology=85
receiver=Entente Allies
Text
Allenby walks into Jerusalem. 
^
Over 4 centuries of Ottoman rule ends. 
The home front rejoices after enduring 
months of costly stalemate in Europe.
EndText
@ENDIF

;CP Balfour Declaration -> SF A31+; Txt
;A31+ = Balfour built
@IF
CityProduction
builder=Entente Allies
improvement=61
@THEN
JustOnce
Flag
Continuous
who=Entente Allies
state=On
flag=31
EnableTechnology
whom=Entente Allies
technology=62
value=0
Text
HM Government view with favor the establishment in Palestine 
of a national home for the Jewish people. -Balfour
EndText
@ENDIF

;RT Jerusalems Capture & CF A31+ -> CU Judeans; Link Royal Fusiliers
;A31+ = Balfour built
@IF
ReceivedTechnology
receiver=Entente Allies
technology=85
@AND
CheckFlag
who=Entente Allies
flag=31
state=On
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Judeans
veteran=no
homecity=Royal Fusiliers
locations
14,52,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
14,48,14,48,14,48,14,48
Text
With hopes of Zion, the Jewish Legion deploys.
EndText
@ENDIF

;RT LahoreMeerut Divs -> CU 3x IA Recruits; Link 3 Lahore; Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=50
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=IA Recruits
veteran=no
homecity=3 Lahore
locations
54,32,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
58,32,58,32,58,32,58,32
Text
The 3rd Lahore and 7th Meerut arrive from Mesopotamia.
EndText
@ENDIF

;RT LahoreMeerut Divs -> CU 2x IA Recruits; Link 7 Meerut (d1)
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=50
@THEN
JustOnce
Delay
delay=1
CreateUnit
owner=Entente Allies
unit=IA Recruits
veteran=no
homecity=7 Meerut
locations
54,36,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
58,36,58,36,58,36,58,36
@ENDIF

;RT 40th Army Wing -> CU Bomber (DH4) (142); Txt
;142 Sqn RAF
;Jaffa, Gaza, Port Said
@IF
ReceivedTechnology
receiver=Entente Allies
technology=52
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Bomber (DH4)
veteran=no
homecity=142 Sqn RAF
locations
76,34
74,42
61,43
endlocations
Text
The RAF, amalgamated from the RFC and RNAS, adds 3 more squadrons to the 40th Army Wing.
EndText
@ENDIF

;RT 40th Army Wing -> CU Bomber (DH4) (144)
;144 Sqn RAF
;Jaffa, Gaza, Port Said
@IF
ReceivedTechnology
receiver=Entente Allies
technology=52
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Bomber (DH4)
veteran=no
homecity=144 Sqn RAF
locations
76,34
74,42
61,43
endlocations
@ENDIF

;RT 40th Army Wing -> CU (d1) Fighter (F2b) (145)
;Jaffa, Gaza, Port Said
@IF
ReceivedTechnology
receiver=Entente Allies
technology=52
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Fighter (F2b)
veteran=no
homecity=145 Sqn RAF
locations
76,34
74,42
61,43
endlocations
@ENDIF

;RT 40th Army Wing -> CU 4x QF 3 20cwt AA
@IF
ReceivedTechnology
receiver=Entente Allies
technology=52
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=QF 3 20cwt AA
veteran=no
homecity=AA Group/RA
locations
2,16,2
endlocations
ChangeTerrain
terraintype=0
map=2
maprect
6,16,6,16,6,16,6,16
@ENDIF

;RT Euphrates Force -> CU IA Regulars; Link 15 Indian; Txt
@IF
ReceivedTechnology
receiver=Entente Allies
technology=11
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=IA Regulars
veteran=no
homecity=15 Indian
locations
102,18,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
106,18,106,18,106,18,106,18
Text
The MEF drives up the Euphrates to protect its left flank.
EndText
@ENDIF

;RT Euphrates Force -> CU IA Lancers; Link 11 Ind Cav Bde
;contains LAC Bde/MEF
@IF
ReceivedTechnology
receiver=Entente Allies
technology=11
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=IA Lancers
veteran=no
homecity=11 Ind Cav Bde
locations
102,14,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
106,14,106,14,106,14,106,14
@ENDIF

;RT Euphrates Force -> CU Rolls Royce AC; Link xporter to Khan
;contains LAC Bde/MEF
@IF
ReceivedTechnology
receiver=Entente Allies
technology=11
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Rolls Royce AC
veteran=no
homecity=LAC Bde/MEF
locations
96,14,2
endlocations
ChangeTerrain
terraintype=4
map=0
maprect
109,17,109,17,109,17,109,17
@ENDIF

;T = 2/18 -> ET WF Withdrawal Order; Txt
@IF
Turn
turn=225
@THEN
EnableTechnology
whom=Entente Allies
technology=53
value=0
Text
The Germans mass for an offensive on the Western Front.  
EndText
@ENDIF

;;T = 3/18 -> Txt
;@IF
;Turn
;turn=226
;@THEN
;Text
;The Germans launch devastating attacks in France.  
;British reserves are critically low.  
;EndText
;@ENDIF

;RT WF Withdrawal Order -> Raze 5 Mtd Bde; BI Repl Draft Camp; Txt
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
Flag
Continuous
who=Entente Allies
state=On
flag=21
ChangeTerrain
map=2
terraintype=10
maprect
18,26,20,26,20,26,18,26
BestowImprovement
improvement=2
race=Entente Allies
capital=No
wonders=No
Text
52 battalions must embark for France immediately.  Our backs are against the wall!
EndText
@ENDIF

;RT WF Withdrawal Order -> Raze YMD; BI Repl Draft Camp
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
16,30,20,30,20,30,16,30
BestowImprovement
improvement=2
race=Entente Allies
capital=No
wonders=No
@ENDIF

;RT WF Withdrawal Order -> Raze 7 Mtd Bde; BI Labour Corps 2x Coy(2)
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
18,10,20,10,20,10,18,10
BestowImprovement
improvement=37
race=Entente Allies
capital=Yes
wonders=No
@ENDIF

;RT WF Withdrawal Order -> Raze 10 Irish (NA), 53 Welsh (TF), 74 Yeomanry, 60 London (TF)
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
36,8,40,8,40,20,36,20
;BestowImprovement
;improvement=37
;race=Entente Allies
;capital=Yes
;wonders=No
@ENDIF
 
;RT WF Withdrawal Order -> Raze 52 Lowland (TF)
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
54,8,58,8,58,8,54,8
BestowImprovement
improvement=37
race=Entente Allies
capital=Yes
wonders=No
@ENDIF

;RT WF Withdrawal Order -> Raze 75 Inf (TF)
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
54,16,58,16,58,16,54,16
BestowImprovement
improvement=37
race=Entente Allies
capital=Yes
wonders=No
@ENDIF

;RT WF Withdrawal Order -> Raze Det E/Tank Cps
@IF
ReceivedTechnology
receiver=Entente Allies
technology=53
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
2,22,2,22,2,22,2,22
BestowImprovement
improvement=37
race=Entente Allies
capital=Yes
wonders=No
@ENDIF

;RT Jewish Legion -> Link Royal Fusiliers; Txt
;wake up worked!
@IF
ReceivedTechnology
receiver=Entente Allies
technology=62
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Judeans
veteran=no
homecity=Royal Fusiliers
locations
14,52,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
14,48,14,48,14,48,14,48
Text
With hopes of Zion, the Jewish Legion deploys.
EndText
@ENDIF

;T = 4/18 -> Txt
@IF
Turn
turn=227
@THEN
Text
Motor and Cavalry units will shortly leave the Euphrates Force.
EndText
@ENDIF

;T = 5/18 -> Raze LAC Bde/MEF, Euphrates Force; Txt
;A3- = Abram and Moses not chosen
@IF
Turn
turn=228
@THEN
ChangeTerrain
terraintype=10
map=2
maprect
96,14,106,14,106,14,96,14
Text
The 11th Cav and Armoured Car Bdes of the Euphrates Force are needed on the Tigris.  They have been withdrawn.
EndText
@ENDIF

;T = 8/18 AND CF A0+ -> Link DFPS; GT Dt Franais; Txt
;CP Sykes-Picot Agreement -> SF A0+
;GT Dt Franais to slow down advances
@IF
Turn
turn=231
@AND
CheckFlag
who=Entente Allies
flag=0
state=On
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Tirailleurs
veteran=no
homecity=DF de Palestine
locations
54,20,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
58,20,58,20,58,20,58,20
GiveTechnology
technology=10
receiver=Entente Allies
Text
Presuming our adherence to terms in the Sykes-Picot Agreement, the French 
provide a brigade for service in the Levant.
^  
Aussies seem to have acquired a sudden surplus of plonk.
EndText
@ENDIF

;RT Indianised Divs -> CU 3x IA Recruits; Link 10 Irish (I); Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=64
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=IA Recruits
veteran=no
homecity=10 Irish (I)
locations
36,24,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
40,24,40,24,40,24,40,24
Text
36 Indian battalions arrive to replace withdrawn troops.  
A few are veterans of the Northwest Frontier, but most contain rookies.
EndText
@ENDIF

;RT Indianised Divs -> CU 3x IA Recruits; Link 53 Welsh (I)
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=64
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=IA Recruits
veteran=no
homecity=53 Welsh (I)
locations
36,28,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
40,28,40,28,40,28,40,28
@ENDIF

;RT Indianised Divs -> CU 3x IA Recruits; Link 60 London (I)
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=64
@THEN
JustOnce
Delay
delay=1
CreateUnit
owner=Entente Allies
unit=IA Recruits
veteran=no
homecity=60 London (I)
locations
54,24,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
58,24,58,24,58,24,58,24
@ENDIF

;RT Indianised Divs -> CU 3x IA Recruits; Link 75 Inf (I)
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=64
@THEN
JustOnce
Delay
delay=1
CreateUnit
owner=Entente Allies
unit=IA Recruits
veteran=no
homecity=75 Inf (I)
locations
54,28,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
58,28,58,28,58,28,58,28
@ENDIF

;RT 45 Cavalry -> CU 3x IA Lancers; Link 1 Mtd (I); Txt
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=61
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=IA Lancers
veteran=no
homecity=1 Mtd Div (I)
locations
18,34,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
20,34,20,34,20,34,20,34
Text
Indian cavalry arrive to replace departed Yeomanry.  
EndText
@ENDIF

;RT 45 Cavalry -> CU 2x IA Lancers; Link 2 Mtd (I) (d1)
;wake up didnt work
@IF
ReceivedTechnology
receiver=Entente Allies
technology=61
@THEN
JustOnce
Delay
delay=1
CreateUnit
owner=Entente Allies
unit=IA Lancers
veteran=no
homecity=2 Mtd Div (I)
locations
18,38,2
endlocations
ChangeTerrain
terraintype=4
map=2
maprect
20,38,20,38,20,38,20,38
@ENDIF

;CP Adv Ordnance Stores -> CU 2x Siege Arty; Txt
;XX Corps
@IF
CityProduction
builder=Entente Allies
improvement=44
;ReceivedTechnology
;receiver=Entente Allies
;technology=69
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Siege Arty
count=2
veteran=no
homecity=XX Corps
locations
42,4,2
endlocations
Text
Our heavy artillery batteries have enough ordnance to support 
another major offensive.  Time to hit Johnny Turk for six!
EndText
@ENDIF

;CP Adv Ordnance Stores -> CU 2x Siege Arty; Txt
;XXI Corps
@IF
CityProduction
builder=Entente Allies
improvement=44
;ReceivedTechnology
;receiver=Entente Allies
;technology=69
@THEN
JustOnce
CreateUnit
owner=Entente Allies
unit=Siege Arty
count=3
veteran=no
homecity=XXI Corps
locations
60,4,2
endlocations
@ENDIF

;UK Lawrence -> Raze Hauran Bedu, Anazeh Qabila, Muntafiq Qabila; Txt
@IF
UnitKilled
unit=Lawrence
attacker=Anybody
defender=Entente Allies
@THEN
;Flag
;Continuous
;who=Entente Allies
;state=On
;flag=11
ChangeTerrain
terraintype=10
map=1
maprect
78,30,90,30,90,68,78,68
Text
Lawrence is killed before he can help the Arabs realize their 
dream of a free land.  Northern tribes sever ties with us.
EndText
@ENDIF

;UK Feisal -> Raze Harb, Juheina, Billi Bedu
@IF
UnitKilled
unit=Feisal
attacker=Anybody
defender=Entente Allies
@THEN
ChangeTerrain
terraintype=10
map=1
maprect
79,75,101,75,101,105,79,105
@ENDIF

;UK Feisal -> Raze Atiyeh, Dhumaniyeh, Bani Sakr; Txt
;A12+
@IF
UnitKilled
unit=Feisal
attacker=Anybody
defender=Entente Allies
@THEN
;Flag
;Continuous
;who=Entente Allies
;state=On
;flag=12
ChangeTerrain
terraintype=10
map=1
maprect
78,30,90,30,90,68,78,68
Text
Emir Feisal Ibn Hussein, has died.  With him dies the dream of an Arab land.  Bedouins drift away.  
EndText
@ENDIF

;UK Feisal -> Raze Hauran Bedu, Anazeh Qabila, Muntafiq Qabila
@IF
UnitKilled
unit=Feisal
attacker=Anybody
defender=Entente Allies
@THEN
;Flag
;Continuous
;who=Entente Allies
;state=On
;flag=13
ChangeTerrain
terraintype=10
map=1
maprect
84,4,108,4,108,42,84,42
@ENDIF

;UK Recce (FE2b) -> CT incr Prodn in Palestine Bde
@IF
UnitKilled
unit=Recce (FE2b)
attacker=Anybody
defender=Entente Allies
@THEN
JustOnce
ChangeTerrain
terraintype=10
map=2
maprect
68,34,68,34,68,34,68,34
@ENDIF

;UK Bomber (DH4) -> CT incr Prodn in Palestine Bde
@IF
UnitKilled
unit=Bomber (DH4)
attacker=Anybody
defender=Entente Allies
@THEN
JustOnce
ChangeTerrain
terraintype=10
map=2
maprect
68,34,68,34,68,34,68,34
@ENDIF

;UK Fighter (F2b) -> CT incr Prodn in Palestine Bde
@IF
UnitKilled
unit=Fighter (F2b)
attacker=Anybody
defender=Entente Allies
@THEN
JustOnce
ChangeTerrain
terraintype=10
map=2
maprect
68,34,68,34,68,34,68,34
@ENDIF

;UK Gunboat Flot (by U35) -> Txt; MU to Sollum
@IF
UnitKilled
unit=Gunboat Flot
attacker=Turks
defender=Entente Allies
@THEN
JustOnce
Text
U-35, the most successful U-Boat of the 20th century, sinks 
2 coast guard vessels and damages a third.  Captured sailors 
are given to the Sanussis at Bardia.  
^
In return, the Sanussis give the U-Boat a camel for the Kaiser.
EndText
MoveUnit
unit=U-Boat
owner=Turks
maprect
18,46,18,46,18,46,18,46
moveto
22,46
numbertomove=ALL
@ENDIF

;UK Cruiser Flot (by U35) -> Txt
@IF
UnitKilled
unit=Cruiser Div
attacker=Mittelmeer Fl
defender=Entente Allies
@THEN
JustOnce
Text
U-21 sinks Amiral Charner off Beirut.  French withdraw 
Division de Syrie for now.  
^
^PLAYERS NOTE: 
^To replace this loss, build a Cruiser Div in 
^AN Div de Syrie on the Order of Battle map.
^
EndText
MoveUnit
unit=U-Boat
owner=Turks
maprect
18,46,18,46,18,46,18,46
moveto
22,46
numbertomove=ALL
@ENDIF

;*************
;*** TURKS ***
;*************

;CP Tribal Vols -> CU Tribal Vols in Sinai; MU to Kantara
;Romani, Oghratina, El Arish, Maghdaba, Rafa, Nakhl, Al Tur, Gaza, Deraa
@IF
CityProduction
builder=Turks
unit=Tribal Vols 
@THEN
CreateUnit
owner=Turks
unit=Tribal Vols
veteran=no
homecity=none
locations
64,46
67,47
70,46
72,48
72,44
72,54
68,66
74,42
87,31
endlocations
MoveUnit
unit=Tribal Vols
owner=Turks
maprect
63,41,81,41,81,67,63,67
moveto
61,47
numbertomove=All
;ChangeMoney
;receiver=Turks
;amount=-80
@ENDIF

;CF T11- -> CU Tren; MU to Medina
;10 xys along HRW
@IF
CheckFlag
who=Turks
flag=11
State=Off
@THEN
CreateUnit
owner=Turks
unit=Tren
veteran=no
homecity=none
Randomize
locations
90,52
90,58
91,61
91,65
91,69
91,73
92,76
93,77
94,82
95,87
endlocations
MoveUnit
unit=Tren
owner=Turks
maprect
87,49,97,49,97,89,87,89
moveto
98,90
numbertomove=All
@ENDIF

;CT Maan -> SF T11+
@IF
CityTaken
city=Maan
defender=Turks
attacker=Entente Allies
@THEN
Flag
Continuous
who=Turks
state=On
flag=11
@ENDIF

;CT Amman -> SF T11+
@IF
CityTaken
city=Amman
defender=Turks
attacker=Entente Allies
@THEN
Flag
Continuous
who=Turks
state=On
flag=11
@ENDIF

;CT Romani -> SF T12+; GT 3nci Piade Firka; CU Gebirgshaubitz
;Oghratina
;Warns of tough garrison in Oghratina
@IF
CityTaken
city=Romani
defender=Turks
attacker=Entente Allies
@THEN
Flag
Continuous
who=Turks
state=On
flag=12
;ChangeMoney
;receiver=Turks
;amount=-400
CreateUnit
owner=Turks
unit=Gebirgshaubitz
veteran=no
homecity=l Kuvvet
locations
67,47
endlocations
;following text covered by @GAPE
;Text
;The Allies begin the reconquest of the Sinai, but our scouts 
;soon encounter elements of the veteran 3rd Thracian Division, 
;refitted after Gallipoli.
;EndText
GiveTechnology
technology=94
receiver=Turks
@ENDIF

;CT Romani -> GT Exp Korps Pascha I; CU EK Pascha I
;Oghratina
@IF
CityTaken
city=Romani
defender=Turks
attacker=Entente Allies
@THEN
GiveTechnology
technology=95
receiver=Turks
CreateUnit
owner=Turks
unit=EK Pascha I
veteran=no
homecity=AsKorps
locations
67,47
endlocations
@ENDIF

;CF T12+ -> CU Pascha FA; MU to Romani
;El Arish, Gaza, Nablus, Deraa
@IF
CheckFlag
who=Turks
flag=12
state=On
@THEN
CreateUnit
owner=Turks
unit=Pascha FA
veteran=no
homecity=300 FA
locations
70,46
74,42
80,32
87,31
endlocations
MoveUnit
unit=Pascha FA
owner=Turks
maprect
70,30,88,30,88,48,70,48
moveto
64,46
numbertomove=All
@ENDIF

;;RT 40th Army Wing -> SF T12-
;Continuous may be unnecessary
;@IF
;ReceivedTechnology
;receiver=Entente Allies
;technology=52
;@THEN
;Flag
;Continuous
;who=Turks
;state=Off
;flag=12
;@ENDIF

;T=Jul/16 -> ET Hiaz KS
@IF
Turn
turn=206
@THEN
EnableTechnology
whom=Turks
technology=96
value=0
@ENDIF

;RT Meccas Capture -> GT Hiaz KS
@IF
ReceivedTechnology
receiver=Entente Allies
technology=72
@THEN
JustOnce
Delay
delay=1
GiveTechnology
receiver=Turks
;EnableTechnology
;whom=Turks
technology=96
;value=0
@ENDIF

;RT Hiaz KS -> CU 2x Syrians; MU to Rabegh; GT Autokolonne Turkei
;RT Hiaz KS -> CU 2x Syrians (JO, DR3); MU to Rabegh; GT Autokolonne Turkei
;Medina
@IF
ReceivedTechnology
receiver=Turks
technology=96
@THEN
JustOnce
;delay
;delay=1
CreateUnit
owner=Turks
unit=Syrians
count=2
veteran=no
homecity=Hiaz Seferi K
locations
98,90
endlocations
MoveUnit
unit=Syrians
owner=Turks
maprect
84,74,102,74,108,98,84,98
moveto
94,100
numbertomove=ALL
Text
Their role as guardians of Islam threatened by the loss of Mecca, 
the Ottomans prepare to attack the weak Arab forces.
EndText
;GiveTechnology
;technology=97
;receiver=Turks
@ENDIF

;RT Hiaz KS -> CU 2x Mtd Infantry; MU to Rabegh; not JO
;Taif, Mecca, Jidda, Rabegh, Yanbo, Medina
@IF
ReceivedTechnology
receiver=Turks
technology=96
@THEN
CreateUnit
owner=Turks
unit=Mtd Infantry
count=2
veteran=no
homecity=Hiaz Seferi K
locations
105,111
102,110
97,109
94,100
88,92
98,90
endlocations
MoveUnit
unit=Mtd Infantry
owner=Turks
maprect
84,74,102,74,108,98,84,98
moveto
94,100
numbertomove=ALL
@ENDIF

;RT Hiaz KS -> CU Arab Camel Cps; MU to Rabegh; not JO
;Maan, Medain, El Ula, Hedye, Medina, Bir Abbas, Bir Nasif, Azam
@IF
ReceivedTechnology
receiver=Turks
technology=96
@THEN
CreateUnit
owner=Turks
unit=Arab Camel Cps
veteran=no
homecity=2KK
Randomize
locations
87,49
94,78
94,82
95,85
96,88
98,90
97,93
99,97
endlocations
MoveUnit
unit=Arab Camel Cps
owner=Turks
maprect
84,72,102,72,102,98,84,98
moveto
94,100
numbertomove=ALL
@ENDIF

;RT Autokolonne Turkei -> CU Gebirgshaubitz (JO); MU to Rabegh
;Jidda, Rabegh, Yanbo, Medina
@IF
ReceivedTechnology
receiver=Turks
technology=97
@THEN
JustOnce
delay
delay=1
CreateUnit
owner=Turks
unit=Gebirgshaubitz
veteran=no
homecity=none
locations
97,109
94,100
88,92
98,90
endlocations
MoveUnit
unit=Gebirgshaubitz
owner=Turks
maprect
84,74,108,74,108,114,84,114
moveto
94,100
numbertomove=ALL
@ENDIF

;T
;UK Hejaz Rwy Stn -> CU PzKw MG Zug; MU to Medina; Txt
;Maan OR Tebuk OR Medain Salih to Medina
;;10 xys along HRW; not JO
@IF
UnitKilled
Unit=Hejaz Rwy Stn
Attacker=Entente Allies
Defender=Turks
;ReceivedTechnology
;receiver=Turks
;technology=97
@THEN
CreateUnit
owner=Turks
unit=Pzkw MG Zug
veteran=no
homecity=none
Randomize
locations
88,38
91,67
94,78
94,80
94,82
95,83
95,85
95,87
96,88
endlocations
MoveUnit
unit=Pzkw MG Zug
owner=Turks
maprect
85,47,97,47,97,89,85,89
moveto
98,90
numbertomove=ALL
;Text
;Scouts report arrival of armoured cars in Medina.
;EndText
@ENDIF

;RT Flieger Abw Kanone -> CU Airplane Coy
;Amman, Maan, Medina
;not JO
@IF
ReceivedTechnology
receiver=Turks
technology=98
@THEN
CreateUnit
owner=Turks
unit=Airplane Coy
veteran=no
homecity=3TB
Randomize
locations
88,38,0
87,49,0
98,90,0
endlocations
@ENDIF

;T=Dec/16 -> CU 2x Syrians (Lith)
;should be occupied by then.
@IF
Turn
turn=211
@THEN
CreateUnit
owner=Turks
unit=Syrians
count=2
veteran=no
homecity=VII
locations
101,115,0
endlocations
@ENDIF

;T=Jan/17 -> ET Mnrettep Livalar
@IF
Turn
turn=212
@THEN
EnableTechnology
whom=Turks
technology=34
value=0
@ENDIF

;T=Mar/17 -> CU Redoubt System
@IF
Turn
turn=214
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Redoubt System
veteran=no
count=2
homecity=Gaza
locations
73,41,0
endlocations
Text
Turks reinforce Gaza Line
EndText
@ENDIF

;T=Mar/17 -> CU Redoubt System
@IF
Turn
turn=214
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Redoubt System
veteran=no
count=2
homecity=Gaza
locations
75,43,0
endlocations
@ENDIF

;T=Apr/17 -> CU Redoubt System
@IF
Turn
turn=215
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Redoubt System
veteran=no
count=2
homecity=Beersheba
locations
76,44,0
endlocations
@ENDIF

;T=Apr/17 -> CU Redoubt System
@IF
Turn
turn=215
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Redoubt System
veteran=no
count=2
homecity=Hebron
locations
77,45,0
endlocations
@ENDIF

;RT Akabas Capture -> CU Mtd Infantry; MU to Akaba; not JO
;Maan
@IF
ReceivedTechnology
receiver=Entente Allies
technology=1
;CityTaken
;city=Akaba
;defender=Turks
;attacker=Entente Allies
@THEN
CreateUnit
owner=Turks
unit=Mtd Infantry
veteran=no
homecity=none
locations
87,49
endlocations
MoveUnit
unit=Mtd Infantry
owner=Turks
maprect
85,45,89,45,89,53,85,53
moveto
82,54
numbertomove=ALL
@ENDIF

;RT N Hejaz Mission -> CU Arab Camel Cps; MU Tafila; not JO
;Maan
@IF
ReceivedTechnology
receiver=Entente Allies
technology=42
;CityTaken
;city=Tafila
;defender=Turks
;attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Arab Camel Cps
veteran=no
homecity=1KK
locations
87,49
endlocations
MoveUnit
unit=Arab Camel Cps
owner=Turks
maprect
87,49,87,49,87,49,87,49
moveto
84,48
numbertomove=ALL
@ENDIF

;CT Gaza -> SF A32+; GT Gazas Capture; CU Dmdar Kolu (53PF/XX); Txt
;Gazas Capture = Preq for Balfour Declaration
;A32+ = Gaza captured
;Used for MU U-Boat destinations
;;Was used for The Bull text
;Retreating
@IF
CityTaken
city=Gaza
defender=Turks
attacker=Entente Allies
@THEN
Flag
Continuous
who=Entente Allies
state=On
flag=31
GiveTechnology
technology=43
receiver=Entente Allies
CreateUnit
owner=Turks
unit=Dmdar Kolu
veteran=no
homecity=XX
locations
75,39
75,37
endlocations
Text
Gaza is ours!  Many Turks surrender, but cadres fight a skillful retreat.
EndText
@ENDIF

;CT Gaza -> CU Anatolians (7PF/XXII)
;Retreating
@IF
CityTaken
city=Gaza
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Anatolians
veteran=no
homecity=XXII
locations
75,41
76,38
76,34
endlocations
@ENDIF

;CT Gaza -> CU Anatolians (3PF/XXII)
;Retreating
@IF
CityTaken
city=Gaza
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Anatolians
veteran=no
homecity=XXII
locations
76,40
76,38
76,34
endlocations
@ENDIF

;CT Gaza -> CU Syrians (24PF/III)
;Newly arrived reserve
@IF
CityTaken
city=Gaza
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Syrians
veteran=no
homecity=III
locations
76,42
76,40
77,39
endlocations
@ENDIF

;CT Beersheba -> CU Syrians (16PF/AsKorps); Txt
;Retreating
@IF
CityTaken
city=Beersheba
defender=Turks
attacker=Entente Allies
@THEN
CreateUnit
owner=Turks
unit=Syrians
veteran=no
homecity=AsKorps
locations
77,43
77,41
78,40
endlocations
Text
Beersheba, the southern anchor of the Gaza line, falls.  Their water source captured, many Turks fall back.
EndText
@ENDIF

;RT Gazas Capture -> CU Picquet Line (JO, 10 locs by Medina)
;If not JO, then all CUs occur in one square
@IF
ReceivedTechnology
receiver=Entente Allies
technology=43
;CityTaken
;city=Akaba
;defender=Turks
;attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Picquet Line
veteran=no
homecity=none
Randomize
locations
93,81
93,83
94,84
94,86
94,88
94,90
96,90
97,91
100,92
100,88
endlocations
@ENDIF

;CP OETAE -> Link OETA East
@IF
CityProduction
builder=Entente Allies
improvement=63
@THEN
JustOnce
ChangeTerrain
map=2
terraintype=10
maprect
78,38,78,38
@ENDIF


;CT Beersheba -> CU Dmdar Kolu (54PF/AsKorps)
;Retreating
@IF
CityTaken
city=Beersheba
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Dmdar Kolu
veteran=no
homecity=AsKorps
locations
77,41
77,39
77,37
endlocations
@ENDIF

;CT Beersheba -> CU Dmdar Kolu (26PF/XX)
;Retreating
@IF
CityTaken
city=Beersheba
defender=Turks
attacker=Entente Allies
@THEN
CreateUnit
owner=Turks
unit=Dmdar Kolu
veteran=no
homecity=XX
locations
78,42
78,40
endlocations
@ENDIF

;CT Beersheba -> CU Dmdar Kolu (27PF/III)
;Retreating
@IF
CityTaken
city=Beersheba
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Dmdar Kolu
veteran=no
homecity=III
locations
79,41
80,40
endlocations
@ENDIF

;CT Beersheba -> CU EK Pascha II (AsKorps)
;In a retreating line from Heb to Jeri to Nab to Naz
@IF
CityTaken
city=Beersheba
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=EK Pascha II
veteran=no
homecity=AsKorps
locations
78,40
79,39
81,37
82,36
80,34
80,32
80,28
endlocations
@ENDIF

;CT Beersheba -> CU Svari (3S)
;Retreating
@IF
CityTaken
city=Beersheba
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Svari
veteran=no
homecity=3S
locations
78,42
78,40
78,38
80,36
80,34
80,32
endlocations
@ENDIF

;CT Hebron -> CU Anatolians (7PF/XXII); Txt
;Retreating
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Anatolians
veteran=yes
homecity=XXII
locations
76,38
76,36
76,34
endlocations
Text
Our troops enter Hebron.  The road to Jerusalem lies before us.
EndText
@ENDIF

;CT Hebron -> CU Anatolians (3PF/XXII)
;Retreating
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Anatolians
veteran=yes
homecity=XXII
locations
77,37
77,35
76,34
endlocations
@ENDIF

;CT Hebron -> CU Syrians (24PF/III)
;Retreating
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Syrians
veteran=no
homecity=III
locations
78,38
78,36
80,36
80,34
80,32
endlocations
@ENDIF

;CT Hebron -> CU Anatolians (16PF/AsKorps)
;Retreating
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Syrians
veteran=no
homecity=AsKorps
locations
78,38
78,36
80,36
80,34
80,32
endlocations
@ENDIF

;CT Hebron -> CU EK Pascha II (AsKorps)
;Retreating
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=EK Pascha II
veteran=no
homecity=AsKorps
locations
80,38
80,36
80,34
80,32
endlocations
MoveUnit
unit=EK Pascha II
owner=Turks
maprect
79,31,81,31,81,39,79,39
moveto
78,40
numbertomove=ALL
@ENDIF

;CT Hebron -> CU Svari (3S)
;Retreating
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Svari
veteran=no
homecity=3S
locations
79,37
78,36
80,36
80,34
80,32
endlocations
MoveUnit
unit=Svari
owner=Turks
maprect
78,30,82,30,82,38,78,38
moveto
78,40
numbertomove=ALL
@ENDIF

;CT Hebron -> CU Sturmtruppen; MU Hebron
;Nab, Naz
@IF
CityTaken
city=Hebron
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Sturmtruppen
veteran=no
homecity=AsKorps
locations
80,32
80,28
endlocations
MoveUnit
unit=Sturmtruppen
owner=Turks
maprect
79,29,81,29,81,33,79,33
moveto
78,40
numbertomove=ALL
@ENDIF

;CT Jaffa; Txt
@IF
CityTaken
city=Jaffa
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
Text
Jaffa is captured.  Engineers start to repair its port.
EndText
@ENDIF

;CT Jerusalem -> CU Svari (2KS); Txt
@IF
CityTaken
city=Jerusalem
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=Svari
veteran=no
homecity=2KS
locations
82,36
84,38
86,38
88,38
endlocations
@ENDIF

;CT Jericho -> CU EK Pascha II (AsKorps); MU EK Pascha II to Jericho
;Nab, Naz
@IF
CityTaken
city=Jericho
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Turks
unit=EK Pascha II
veteran=no
homecity=AsKorps
locations
80,32
80,28
endlocations
MoveUnit
unit=EK Pascha II
owner=Turks
maprect
79,27,81,27,81,33,79,33
moveto
82,36
numbertomove=ALL
@ENDIF

;CT Jericho -> CU Svari (3S); MU Svari to Jericho; Txt
@IF
CityTaken
city=Jericho
defender=Turks
attacker=Entente Allies
@THEN
CreateUnit
owner=Turks
unit=Svari
veteran=no
homecity=3S
locations
84,38
86,38
88,38
endlocations
MoveUnit
unit=Svari
owner=Turks
maprect
83,37,89,37,89,39,83,39
moveto
82,36
numbertomove=ALL
Text
We are on the banks of the River Jordan.
EndText
@ENDIF

;CT Jericho -> CU Syrians (24PF/rdn Grup); Txt
@IF
CityTaken
city=Jericho
defender=Turks
attacker=Entente Allies
@THEN
CreateUnit
owner=Turks
unit=Syrians
veteran=no
homecity=rdn Grup
locations
84,38
86,38
88,38
endlocations
@ENDIF

;CT Homs -> CU Pzkw MG Zug (AsKorps); Txt
@IF
CityTaken
city=Homs
defender=Turks
attacker=Entente Allies
@THEN
CreateUnit
owner=Turks
unit=Pzkw MG Zug
veteran=no
homecity=AsKorps
locations
88,6
88,8
88,2
87,1
endlocations
@ENDIF

;***************
;*** Sanussis ***
;***************
;

;CP POW Camp -> Txt
@IF
CityProduction
builder=Sanussis
improvement=43
@THEN
JustOnce
Text
^With Turk advisors and matriel supplied by 
^U-Boat, the Sanussi strike across the border!
EndText
@ENDIF

;;T1 -> MU Slonta
;@IF
;Turn
;turn=199
;@THEN
;MoveUnit
;unit=Ikhawan
;owner=Sanussis
;maprect
;0,44,8,44,8,48,0,48
;moveto
;6,42
;numbertomove=ALL
;@ENDIF

;;UK Ikhawan -> Txt
;@IF
;UnitKilled
;unit=Scouts
;attacker=Sanussis
;defender=Entente Allies
;;@AND
;;Turn
;;turn=199
;@THEN
;Text
;The Sanussi strike across the Libyan border!
;EndText
;JustOnce
;@ENDIF

;CT Farafra -> CU Mujahid (Farafra)
CityTaken
city=Farafra
defender=Entente Allies
attacker=Sanussis
@THEN
CreateUnit
owner=Sanussis
unit=Mujahid
veteran=no
homecity=Farafra
locations
36,78
endlocations
@ENDIF

;T=2/16 -> CU 2x Gebirgshaubitz by Siwa; MU to Siwa
;use Gebirgshaubitz to keep on oasis
@IF
Turn
turn=201
@THEN
CreateUnit
owner=Sanussis
unit=Gebirgshaubitz
veteran=yes
count=2
homecity=none
locations
17,65
16,64
17,63
endlocations
MoveUnit
unit=Gebirgshaubitz
owner=Sanussis
maprect
15,63,17,63,17,65,15,65
moveto
18,64
numbertomove=ALL
@ENDIF

;T=2/16 -> CU Adwar Camp by Siwa
@IF
Turn
turn=201
@THEN
CreateUnit
owner=Sanussis
unit=Adwar Camp
veteran=no
homecity=Bir Hakim
locations
17,65
16,64
17,63
endlocations
@ENDIF

;CP Ikhawan -> CU Ikhawan, not JO (in cities that should be occupied)
;;CP Ikhawan -> CU 2x Ikhawan, not JO (in cities that should be occupied)
;Wadi Natrun, Moghara, Kharga, Dakhla, Bahariya, Farafra, Debaa, Matruh, Sidi Barani, 
;not Sollum 19,47
@IF
CityProduction
builder=Sanussis
unit=Ikhawan
@THEN
CreateUnit
owner=Sanussis
unit=Ikhawan
veteran=no
homecity=none
locations
46,52
39,51
50,90
41,91
38,64
36,78
37,47
30,46
22,46
endlocations
@ENDIF

;;CP Ikhawan -> CU Muhafizia, JO; MU Slonta
;;Zawia Masus
;@IF
;CityProduction
;builder=Sanussis
;unit=Ikhawan
;@THEN
;JustOnce
;CreateUnit
;owner=Sanussis
;unit=Muhafizia
;veteran=no
;homecity=none
;locations
;5,45
;endlocations
;MoveUnit
;unit=Muhafizia
;owner=Sanussis
;maprect
;4,44,6,44,6,46,4,46
;moveto
;6,42
;numbertomove=ALL
;@ENDIF

;CP Ikhawan -> CU Ikhawan, not JO in WD
;advanced non-city locations by Oases, Coastal cities, Kena
@IF
CityProduction
builder=Sanussis
unit=Ikhawan
@THEN
CreateUnit
owner=Sanussis
unit=Ikhawan
veteran=no
homecity=none
Randomize
locations
67,81
46,90
39,89
33,79
38,68
35,51
28,50
22,66
21,49
15,47
endlocations
@ENDIF

;CP Mujahid -> CU Ikhawan (Cyrenaica), not JO, MU Ikhawan to Cyrene
;Slonta, Agedabia, Zawia Masus
@IF
CityProduction
builder=Sanussis
unit=Mujahid
@THEN
CreateUnit
owner=Sanussis
unit=Ikhawan
veteran=no
homecity=none
Randomize
locations
6,42
2,46
5,45
endlocations
MoveUnit
unit=Ikhawan
owner=Sanussis
map=1
maprect
1,41,7,41,7,47,7,47
moveto
8,40
numbertomove=ALL
@ENDIF

;;CP Mujahid -> CU Ikhawan (Sudan), not JO, MU Ikhawan to Obeid
;CP Sanussi Mujahid -> CU Turk Tribal Vol (Sudan, WD), not JO, MU Ikhawan to Obeid
@IF
CityProduction
builder=Sanussis
unit=Mujahid
@THEN
CreateUnit
owner=Turks
unit=Tribal Vols
veteran=no
homecity=none
Randomize
locations
7,95,3
1,109,3
37,115,3
41,115,0
30,80,0
endlocations
MoveUnit
unit=Tribal Vols
owner=Turks
map=3
maprect
0,84,38,102,38,102,0,102
moveto
40,108
numbertomove=ALL
@ENDIF

;UK Guard -> CU 3x Mujahid in Nile Cities (in cities normally occupied by Allies)
; Wadi Halfa, Assuan, Kena, Suhaj, Assuit, Al Minya, Fayum Oasis, Wadi Natrun
@IF
UnitKilled
unit=Guard
attacker=Sanussis
defender=Entente Allies
@THEN
CreateUnit
owner=Sanussis
unit=Mujahid
count=3
veteran=no
homecity=none
locations
55,113
64,98
63,81
56,80
52,74
50,68
49,59
46,52
endlocations
@ENDIF

;RT Meccas Capture -> CU Tribal Vols (Darfur), not JO
;RT No More Ikhawan -> CU Tribal Vols (Darfur) REPLACED
;CT El Fasher -> CU Tribal Vols (Darfur) REPLACED
;not JO
@IF
ReceivedTechnology
receiver=Entente Allies
technology=72
@THEN
CreateUnit
owner=Turks
unit=Tribal Vols
veteran=no
homecity=none
Randomize
locations
37,99,1
7,95,1
14,92,1
endlocations
@ENDIF

;**************
;*** NATURE ***
;**************
;
;Turn 2 -> Raze El Ottok
;
@IF
Turn
turn=200
@THEN
ChangeTerrain
terraintype=10
map=3
maprect
2,0,2,0,2,0,2,0
@ENDIF

;**************
;*** Saudis ***
;**************

;CF A2- -> CU Ikhawan (not JO, Turabah)
;AF2- = not Gonsool Shaik Speer option
;shouldnt happen unless Jarab is Saudi
@IF
CheckFlag
who=Entente Allies
flag=2
State=Off
@THEN
CreateUnit
owner=Saudis
unit=Ikhawan
veteran=no
homecity=none
locations
109,81
endlocations
MoveUnit
unit=Ikhawan
owner=Saudis
maprect
107,75,109,75,109,83,107,83
moveto
108,74
numbertomove=All
@ENDIF

;CT Jarab
@IF
CityTaken
city=Al Tur
defender=Turks
attacker=Entente Allies
@THEN
JustOnce
CreateUnit
owner=Saudis
unit=Adwar Camp
count=2
veteran=yes
homecity=none
locations
109,81
endlocations
@ENDIF

;T6/18 -> CU Ikhawan by Khurma
@IF
Turn
turn=229
@THEN
JustOnce
CreateUnit
owner=Saudis
unit=Ikhawan
count=5
veteran=no
homecity=none
locations
109,105
109,109
100,104
endlocations
@ENDIF

;******************************
;*** UnitKilled->MU, Not JO ***
;******************************
;
;UK AnyUnit -> MU Tribal Vols to Kantara; CM -50
;Used to keep Turk $$ under control
@IF
UnitKilled
unit=AnyUnit
attacker=Entente Allies
defender=Turks
@THEN
MoveUnit
unit=Tribal Vols
owner=Turks
maprect
63,43,75,43,75,59,63,59
moveto
61,47
numbertomove=All
ChangeMoney
receiver=Turks
amount=-50
@ENDIF

;UK Tribal Vols -> MU to Al Tur
@IF
UnitKilled
unit=Tribal Vols
attacker=Entente Allies
defender=Turks
@THEN
MoveUnit
unit=Tribal Vols
owner=Turks
maprect
69,65,69,65,69,65,69,65
moveto
68,66
numbertomove=ALL
@ENDIF

;UK Muhafizia -> CU Muhafizia (d1); MU Muhafizia to Cyrene
@IF
UnitKilled
unit=Muhafizia
attacker=Entente Allies
defender=Sanussis
@THEN
Delay
delay=1
CreateUnit
owner=Sanussis
unit=Muhafizia
veteran=no
homecity=none
locations
5,45
endlocations
MoveUnit
unit=Muhafizia
owner=Sanussis
maprect
4,44,6,44,6,46,4,46
moveto
8,40
numbertomove=ALL
@ENDIF

;UK Ikhawan -> MU Ikhawan to Nahud
@IF
UnitKilled
unit=Ikhawan
attacker=Entente Allies
defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
map=1
maprect
1,91,29,91,29,115,1,115
moveto
31,111
numbertomove=ALL
@ENDIF

;UK Ikhawan -> MU Ikhawan to Moghara Oasis
@IF
UnitKilled
Unit=Ikhawan
Map=0
Attacker=Entente Allies
Defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
maprect
34,50,38,50,38,56,34,56
moveto
39,51
numbertomove=All
@ENDIF

;UK Ikhawan -> MU Ikhawan to Bahariya Oasis
@IF
UnitKilled
Unit=Ikhawan
Map=0
Attacker=Entente Allies
Defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
maprect
35,65,41,65,41,73,35,73
moveto
38,64
numbertomove=All
@ENDIF

;UK Ikhawan -> MU Ikhawan to Kharga Oasis
@IF
UnitKilled
Unit=Ikhawan
Map=0
Attacker=Entente Allies
Defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
maprect
43,85,49,85,49,97,43,97
moveto
50,90
numbertomove=All
@ENDIF

;UK Ikhawan -> MU Ikhawan to Farafra Oasis
@IF
UnitKilled
Unit=Ikhawan
Attacker=Entente Allies
Defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
maprect
31,75,35,75,35,85,31,85
moveto
36,78
numbertomove=All
@ENDIF

;UK Ikhawan -> MU Ikhawan to Dakhla Oasis
@IF
UnitKilled
Unit=Ikhawan
Attacker=Entente Allies
Defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
maprect
32,86,40,86,40,98,32,98
moveto
41,91
numbertomove=All
@ENDIF

;UK Ikhawan -> MU Ikhawan to al-Shab
@IF
UnitKilled
Unit=Ikhawan
Attacker=Entente Allies
Defender=Sanussis
@THEN
MoveUnit
unit=Ikhawan
owner=Sanussis
maprect
25,99,43,99,43,115,25,115
moveto
44,110
numbertomove=All
@ENDIF

;UK Tren -> CG A+100
;;m1, not JO, randomize
;;Juheina, Billi, Atiyeh, Howeitat
@IF
UnitKilled
unit=Tren
Attacker=Entente Allies
Defender=Turks
@THEN
;CreateUnit
;owner=Entente Allies
;unit=Bedouins
;veteran=no
;homecity=none
;Randomize
;locations
;89,95,1
;84,86,1
;84,58,1
;95,47,1
;endlocations
ChangeMoney
receiver=Entente Allies
amount=100
@ENDIF

;UK Hejaz Rwy Stn -> CU Bedouins; CM T-200
;m1, not JO, randomize
;Juheina, Billi, Atiyeh, Howeitat
@IF
UnitKilled
Unit=Hejaz Rwy Stn
Attacker=Entente Allies
Defender=Turks
@THEN
CreateUnit
owner=Entente Allies
unit=Bedouins
veteran=no
homecity=none
Randomize
locations
89,95,1
84,86,1
84,58,1
95,47,1
endlocations
;ChangeMoney
;receiver=Turks
;amount=-200
Text
Easy railway raids attract more to the revolt.
EndText
@ENDIF

;UK AutoMG -> CU AutoMG (d1)
;Benghazi
@IF
UnitKilled
Unit=AutoMG
Attacker=Sanussis
Defender=Italians
@THEN
Delay
delay=1
CreateUnit
owner=Italians
unit=AutoMG
veteran=yes
homecity=Benghazi
locations
2,42
endlocations
@ENDIF

;UK Agordat CC Bn -> CU Agordat CC Bn (d1)
;Benghazi
@IF
UnitKilled
Unit=Agordat CC Bn
Attacker=Sanussis
Defender=Italians
@THEN
Delay
delay=1
CreateUnit
owner=Italians
unit=Agordat CC Bn
veteran=no
homecity=none
Randomize
locations
2,42
endlocations
@ENDIF

;;UK Naval Inf -> CU Mountain Arty; MU Zawia Masus
;;Benghazi
;@IF
;UnitKilled
;Unit=Naval Inf
;Attacker=Sanussis
;Defender=Italians
;@THEN
;CreateUnit
;owner=Italians
;unit=Mountain Arty
;veteran=yes
;homecity=Benghazi
;locations
;2,42
;endlocations
;MoveUnit
;unit=Mountain Arty
;owner=Italians
;maprect
;0,38,6,38,6,44,0,44
;moveto
;5,45
;numbertomove=All
;@ENDIF

;UK Anyunit -> MU to Agedabia
@IF
UnitKilled
Unit=AnyUnit
Attacker=Anybody
Defender=Anybody
@THEN
MoveUnit
unit=AnyUnit
owner=Italians
maprect
1,39,15,39,15,45,1,45
moveto
2,46
numbertomove=All
@ENDIF

;Saudi: UK Ikhawan -> CU Ikhawan; MU Hail
;S of Jarab
@IF
UnitKilled
Unit=Ikhawan
Attacker=Anybody
Defender=Saudis
@THEN
;CreateUnit
;owner=Saudis
;unit=Ikhawan
;veteran=no
;homecity=none
;locations
;109,81
;endlocations
MoveUnit
unit=Ikhawan
owner=Saudis
maprect
107,75,109,75,107,83,109,83
moveto
108,74
numbertomove=All
@ENDIF

;UK Svari & RT Jerusalems Capture -> CU Svari (d1); MU Jerusalem
@IF
UnitKilled
Unit=Svari
Attacker=Entente Allies
Defender=Turks
@AND
ReceivedTechnology
receiver=Entente Allies
technology=85
@THEN
Delay
delay=1
CreateUnit
owner=Turks
unit=Svari
veteran=no
homecity=3S
locations
82,36
84,38
86,38
88,38
endlocations
MoveUnit
unit=Svari
owner=Turks
maprect
82,30,90,30,90,40,82,40
moveto
80,38
numbertomove=All
@ENDIF

; UK Pascha FA (def only ) -> Txt
@IF
UnitKilled
Unit=Pascha FA
Attacker=Entente Allies
Defender Only
Defender=Turks
@THEN
JustOnce
Text
Our troops have overrun a German air park!
EndText
@ENDIF

;UK EK Pascha I -> CU EK Pascha I (d1); MU to Romani
;Romani, Oghratina, El Arish, Rafa, Maghdaba, Gaza
@IF
UnitKilled
unit=EK Pascha I
attacker=Entente Allies
defender=Turks
;CheckFlag
;who=Turks
;flag=12
;state=On
@THEN
Delay
delay=1
CreateUnit
owner=Turks
unit=EK Pascha I
veteran=no
homecity=AsKorps
locations
64,46
67,47
70,46
72,44
72,48
74,42
endlocations
MoveUnit
unit=EK Pascha I
owner=Turks
maprect
64,42,74,42,74,58,64,58
moveto
61,47
numbertomove=All
@ENDIF

;UK EK Pascha II & RT Jerusalems Capture -> CU EK Pascha II (d1); MU Jaffa
;also CT Beersheba, Hebron, Jericho -> CU EK Pascha II
@IF
UnitKilled
Unit=EK Pascha II
Attacker=Entente Allies
Defender=Turks
@AND
ReceivedTechnology
receiver=Entente Allies
technology=85
@THEN
Delay
delay=1
CreateUnit
owner=Turks
unit=EK Pascha II
veteran=no
homecity=AsKorps
locations
80,32
80,28
endlocations
MoveUnit
unit=EK Pascha II
owner=Turks
maprect
77,11,91,11,91,33,77,33
moveto
76,34
numbertomove=All
@ENDIF

;UK Feldhaubitz -> CU Feldhaubitz (d1); MU Rafa
;Gaza, Ramleh, Nablus, Samakh
@IF
UnitKilled
Unit=Feldhaubitz
Attacker=Entente Allies
Defender=Turks
;@AND
;ReceivedTechnology
;receiver=Entente Allies
;technology=85
@THEN
Delay
delay=1
CreateUnit
owner=Turks
unit=Feldhaubitz
veteran=no
homecity=OGK Yildirim
locations
74,42
78,36
80,32
83,31
endlocations
MoveUnit
unit=Feldhaubitz
owner=Turks
maprect
72,2,90,2,90,46,72,46
moveto
72,44
numbertomove=All
@ENDIF

;UK Gebirgshaubitz & RT 3nci Piade Firka -> CU Gebirgshaubitz (d1); MU Rafa
;Gaza, Jericho, Es Salt, Amman, Medina
;only after fall of Romani, so Canal Attack Force and Romani garrison are elim without repl.
;82,30,90,30,90,40,82,40
@IF
UnitKilled
Unit=Gebirgshaubitz
Attacker=Entente Allies
Defender=Turks
@AND
ReceivedTechnology
receiver=Turks
technology=94
@THEN
Delay
delay=1
CreateUnit
owner=Turks
unit=Gebirgshaubitz
veteran=no
homecity=OGK Yildirim
locations
74,42
77,45
82,36
84,38
88,38
endlocations
MoveUnit
unit=Gebirgshaubitz
owner=Turks
maprect
74,30,90,30,90,50,74,50
moveto
72,44
numbertomove=All
@ENDIF

;UK Sturmtruppen -> CU Sturmtruppen (d1); MU Jerusalem
;Nab, Naz
;Not JO
@IF
UnitKilled
Unit=Sturmtruppen
Attacker=Entente Allies
Defender=Turks
@THEN
Delay
delay=1
CreateUnit
owner=Turks
unit=Sturmtruppen
veteran=no
homecity=AsKorps
locations
80,32
80,28
endlocations
MoveUnit
unit=Sturmtruppen
owner=Turks
maprect
77,11,91,11,91,33,77,33
moveto
80,38
numbertomove=All
@ENDIF

;BU Mtd Infantry -> CU Arab Camel Cps; MU Rabegh
;Yenbo, Rabegh, Taif, Jidda, Mecca, Medina
@IF
BribeUnit
who=Entente Allies
whom=Turks
unittype=68
@THEN
CreateUnit
owner=Turks
unit=Arab Camel Cps
veteran=no
homecity=2KK
locations
105,111
102,110
97,109
94,100
88,92
98,90
endlocations
MoveUnit
unit=Arab Camel Cps
owner=Turks
maprect
95,87,107,87,107,111,95,111
moveto
94,100
numbertomove=ALL
@ENDIF

;BU Arab Camel Cps -> CU Tribal Vols; MU to Rabegh
;Tebuk, Medain, Hedye, Medina, Hail
@IF
BribeUnit
who=Entente Allies
whom=Turks
unittype=28
@THEN
CreateUnit
owner=Turks
unit=Tribal Vols
veteran=no
homecity=2KK
Randomize
locations
91,67
94,78
95,85
98,90
108,74
endlocations
MoveUnit
unit=Tribal Vols
owner=Turks
maprect
84,74,108,74,108,114,84,114
moveto
94,100
numbertomove=ALL
@ENDIF

;UK U-Boat -> MU Gaza; CU UBoat
@IF
UnitKilled
Unit=U-Boat
Attacker=Entente Allies
Defender=Mittelmeer Fl
@THEN
CreateUnit
owner=Mittelmeer Fl
unit=UBoat
veteran=no
homecity=none
Randomize
locations
66,18
66,24
65,27
64,32
endlocations
@ENDIF

;UK U-Boat & CF A32- -> MU Gaza
;A32- = Gaza not captured
@IF
UnitKilled
Unit=U-Boat
Attacker=Entente Allies
Defender=Mittelmeer Fl
@AND
CheckFlag
who=Entente Allies
state=Off
flag=31
@THEN
MoveUnit
unit=U-Boat
owner=Mittelmeer Fl
maprect
41,1,83,1,83,41,41,41
moveto
74,42
numbertomove=ALL
@ENDIF

;UK U-Boat & CF A32+ -> MU Jaffa
;A32+ = Gaza captured
@IF
UnitKilled
Unit=U-Boat
Attacker=Entente Allies
Defender=Mittelmeer Fl
@AND
CheckFlag
who=Entente Allies
state=On
flag=31
@THEN
MoveUnit
unit=U-Boat
owner=Mittelmeer Fl
maprect
41,1,75,1,75,41,41,41
moveto
76,34
numbertomove=ALL
@ENDIF

@ENDEVENTS

;x Move Awlad Ali Bedu from m2 to near Dakhla
;x Swap Murry and ECG
;x Rename DMC -> RNAS AC Div?
;x Adwar
;x	SW Matruh aka Halazin, Wadi Senaab 
;x	SE Sidi aka Agagia
;x	W Sollum aka Bir Asiso
;x Proof tech path
;x no bedouins builds on m2
;xTest CU activation w/o adj ChgT > Southern Force okay, 52 not.
;xTest CU activation under land vs under ocean > Not important.
;xTest CU activation: first vs second activation > Not important
;x Adj role/preq/obs for Mujahid to repl Ikhawan.
;xSaudi: UK Ikhawan -> CU Ikhawan
;xImpassable Terrain seals off E Sinai
;xCT Rafa -> Raze Gahr ez Birj
;xCF T11- -> CU Boundary; MU to Medina
;xCT Maan -> SF T11+
;xCT Amman -> SF T11+
;xFix Sanussi attack on Bahariya, Farafra
;xCU Camel Arty outside of Siwa on 4/16
;xTest razing GeB.  Do LoN survive? Yes
;xCreate Rafa barrier (LoN) to block AsG migration
;xCU Rafa -> Raze barrier home
;-Change Hejaz Rwy Stn to Seaplane Tender -- cant create right occupied airbase icon at sea
;-Change airbase icon to dot, name to  -- cant create right occupied airbase icon if TB occupies HRW
;-Repl SpTs on HRW with  terrain 
;-Add SpTs off Rabegh, Jidda, Gaza, Alexandretta.  Home = RIMEE or RNED
;-OR SpTs = size 0 city on ocean?
;-UK SpT -> Raze HMS Raven or Campinas?
;xLoco -> CU Bedouin (m1, h=Ghazzu Bedu, randomize)
;xT=Aug/16 -> GT Hiaz KS
;x Hiaz KS preq for Autokolonne Turkei
;x Autokolonne Turkei preq for Flieger Abw Kanone (FlAK Regt)
;x T=Jan/17 -> ET Mnrettep Livalar
;x RT Hiaz KS -> CU 2x Mtd Infantry; MU to Rabegh; not JO
;x RT Hiaz KS -> CU Arab Camel Cps; MU to Rabegh; not JO
;x Autokolonne Turkei -> CU Gebirgshaubitz
;x Autokolonne Turkei -> CU Pzkw MG Zug
;x Gaz -> CU 8xxxx 11/16 [1 Sur/Div for major skirmishes, 1 Mnr/Div for rest]
;x Bee -> CU 7xxxx 11/16 [1 Sur/Div for major skirmishes, 1 Mnr/Div for rest]
;x Remove fighter flag from TB and PA units
;x Heb -> CU 7xxxx 12/16 [1 Sur/Div for major skirmishes, 1 Mnr/Div for rest]
;x Added Ramleh
;- Jaf -> CU 8xxxx 12/16 [1 KK/Bde in adv pos]
;- Jeru -> CU 7xxxx 1/18 [counterattack]
;x Jeri -> CU 7xxxx 2/18 [counterattack]
;   AsK -> CU AsK (d1, Pal, Nab, not JO
;   OK -> CU OK (d1, Pal, EsS, not JO)
;   FH -> CU GH (d1, Pal, Nab)
;-  Snv -> CU Snv (d1, Pal, EsS).  Use in CT actions instead.
;   HT -> HT (d1, Pal, JO)
;x  Bribe AM -> CU Mnr; MU Rabegh
;x  Bribe CC -> CU AsG; MU Jeida?
;x Tweak Turk OOB cities
;Replacements
; Gur,   3, NHM,  UK & RT NHM
; BrI,   9, EEFR, UK & CF
; InI,   6, IEFR
; RFA,   9, EEFR
; RHA,   9, DMC
; MRGA,  6, GHQ
; CA,    3, NHM,  UK & RT NHM
; ICBn,  3, AIF
; ICBde, 6, AIF
; LH,    6, DMC
; NZMR,  6, ANZ
; Yeo,   9, EEFR, UK & CF
; FLC,   3, DMC
; RRAC,  4, DMC
; GbtF,  6, RIMEE,UK & CF
; GbtF,  6, RNED, UK & CF
; DDF,   3, RNED, UK & RT
; BMF,   6, RNED
; TrpS,  3, RNLS, UK & RT
; Rec,   3, PB, UK & CF
; S/F,   3, PB
; R/B,   3, PB
; RNAS,  3, Rav
;x Repl Siwa Guard with Scouts
;x Split 52, 54 activation
;x Set Sanussi research goal to No More Ikhawan.  Tweak progress.  Occurs 8/16.
;-	new triggers
;+	go to Kantara
;Test unopposed Sanussi adv
;x	12/15 Sollum
;x	1/16 Sidi
;dkf	2/16 Dakhla, Farafra, Bahariya
;	4/16 Siwa
;	4/16 Kharga retaken
;	10/16 Bahariya, Dakhla retaken
;	1/17 Siwa retaken
;x Change Turk ETs to GTs to avoid Gue crash.

;x Adjust bldg of EBD in Mat
;- Change contents of NHM
;x Ren RNLS -> RNEMS
;x PoT in RNEMS
;x Jar and Tur stay with Turks
;x Saudi Bedu bldg Ikhawan 
;- Agayl Camelry in Saudi Bedu
;Fix 3ALH wake up.
;Fix WFF LCP transport
;x Fix MEF food surplus
;x Make RIMEE Gbt vet
;x Make BmC RNAS vet
;x change icon for Meccas Capture
;x Restrict access to tent SE of Nebk
;-cp ikhawan cm turk
;x Fix Pal Bde bld
;x Add Campinas RNAS Flt
;x Fix cp asc mt wkshp action
;x Fix GT Hiaz KS to JO
;x Fix preq for RFA, RHA
;x Create CFA4- -> raze RN E Med Sqn
;x fort NE of Siwa
;x Ren Meccas Capture -> Meccas Loss
;x Correct UK Lawrence, Fensal, Feisal
;x Jeru Bull txt 
;x Sanussis rsrch FT only
;x Turks research FT only
;x CT Siwa -> GT NMIkh
;x link wff
;x fix dmc flc (unlink?)
;x fix ymd 22y (unlink?)
;x fix 52 Lowland (TF) wake up
;x change 10 IMA to camel arty
;x 10 Irish (NA) = Territorials
;x CT Nebk -> CU Agayl Camelry
;x CT Siwa -> BI BrAD
;x Allied boundaries in Nile
;x Dont stop Sanussi Ikhawan production
;x Fix Darfur CU Tribal Vols
;x Fix multiple CU Auda

;x UK Pascha FA (def only ) -> Txt
;x CF T12+ -> CU EK Pascha I
;- UK Tren -> CU Bedouins
;x RT Howeitat Irr -> CU Auda
; Tweak CTC, RSvc, Rfg, IWksP
;x Fix 11 LAMB activation
; UK Pzkw -> Text
;x Fix E Tank Company
;x Check 7 Mtd Bde
;x The Bull cancels the effect of Colonial Office
; Random generation of Gars
;x Rethink 14 Sqn upgrade
;x	Preq for RFC Workshop = ASC Motor Transport
;x	CP RFC Workshop -> Raze 14 Det; CU Bomber (DH4) (14 Sqn)
;x	RT RFC Upgrades -> Raze 14 Det

;0.sav
; Ren 8 LAMB to 3 LAMB and activate with 11 and 12.
; Change axe count for Arab Det 14C
;x Sabkha W of El Jefer
;x Impassable Terrain in 80,44
;x Koh in 80,42
;- remove 2nd LCP for DMC
;x 52,34,2
;- 8+9 shield count

; Haboobs
;RT Meccas Loss -> CU Haboob, not JO, m1
;x  Bribable
;x  Leo: Haboob -> Agayl Camelry
;- CF A11+ -> CU on m1 (to block Bedus), randomize
;+ Tweak cost

;x fix GHQ RE production
;x fix Jidda garrison
;+ fix 11/12 LAMB to friendly locos
;x fix howeitat Agayl Camelry
;x fix Bmc Raven bug
;x fix CU vet Auda
;x check CU pzkwmgz
;+ fix E Coy wake up 
;x create Airplane Coys in Amman
;x fix XX Cps Arty wake up
;x fix 7 Meerut wake up

;x fix GHQ RE count/population
;x add 4hp to GHQ RE
;x fix DFF arty hp (+8?)
;x add 3hp to sohag rfc
;x add 4hp to fayum yeo
;x hex food surplus in new oob & goto cities
;x edit terrain axe values to support only std unit counts
;x set communism unit support to 0
;x fix OOB on map 0: AMD, ANZAC Mtd Div, 5Y, YMD, ECG, 
;x revise mtn arty stats and count and terrain axe stat
;x hex improvements into MIS producers
;x rmv wadi from Beersheba
;x fix terrain homes near beersheba
;x rehome Jaffa trench lines to Gaza or Hebron
;x 83,53 koh
;x make 1 15I regs to vet
;x add ebd to DFF
;- move 1LACB to NHM

;x Raze Wahabbis
;x ct taif cu taif *homed to taif*
;x fix 12 LAMB wake up
;x fix Yeo count in YMD, fix wake up and link.
;x add MUs to Turk Palestine CUs (Pascha, Sturm, Svari)
;x fix wake up of 7Y
;x change 3Lah wake up to friendly
;x change wake ups for 4ic,5ic,53i,60i,10i
;- Saudi Boundary in 109,83

;-RT WF Withdrawal Order -> BI ss modules ***
;x	ali Dinar = Apollo (hexed)
;x	2/18 -> ET WFW
;x	Structure = ELC Coy improvement
;x		Preq = Eng
;+		Must bld 29 by 3/18
;x		$ = 50?
;x	Component = Departure Timetable (DT)
;x		Component types: Infantry Div, Other Div
;x		Schedule 7 DTs for 3/18 (10,52,53,60,74,75,YMD)
;x		Turn 2/18 -> departure timetable warning
;x		Schedule 1 DT for 2/17 (42 ELD)
;Phoenix Units
;x	EK Pascha I
;x		Initial: CT Romani
;x			Where: Oghratina
;x		Phoenix: UK > CU (d1)
;x			Where: Romani, Oghratina, El Arish, Rafa, Maghdaba, Gaza
;x	EK Pascha II
;x		Initial: CT Gaza, Jericho (i.e. 2 units: 701-3 Bn, 146R Rgt)
;x			Where: Nablus, Nazareth
;x		Phoenix: UK > CU (d1)
;x			Where: Nablus, Nazareth
;x			MU: Jeru
;x	Orientkorps
;x		Initial: RT Syrian Gates
;x			Where: Antioch OR Alexandretta OR Tarabolous
;x		Phoenix: UK > CU (d1)
;x			Where: Antioch, Alexandretta, Aleppo
;x	Sturmtruppen/19PF
;x		Initial: CT Hebron
;x			Where: Nablus, Nazareth
;x			MU: Hebron
;x		Phoenix: UK > CU (d1)
;x			Where: Nablus, Nazareth
;x			MU: Jeru
;x	Feldhaubitz
;x		Initial: CT Rafa
;x			Where: Gaz, Nab
;x		Phoenix: UK > CU (d1)
;x			Where: Gaz, Ram, Nab, Sam
;x			MU: Rafa
;x	Gebirgshaubitz
;x		Initial: CT Romani, JO
;x			Where: Oghratina
;x		Initial: UK Hejaz Rwy Stn, not JO
;x			Where: Medina, Hedye, Medain Salih
;x			MU: Yanbo
;x		Phoenix: UK -> CU (d1)
;x			Where: Gaza, Beersheba, Jericho, Es Salt, Amman
;x			MU: Rafa
;x	Pzkw MG Zug
;x		Initial: UK Hejaz Rwy Stn
;x		Where: Along HRwy
;x		Initial: CT Homs
;x		Where: Near Aleppo
;x	Pascha FA
;x		Initial: CT Romani -> SF T12+; CF T12+
;x		Where: El Arish, Gaza, Nablus, Deraa
;x	Airplane Coy
;x		Initial: CT Rafa -> ET Flieger Abw Kanone; RT Flieger Abw Kanone
;x		Where: Amman, Maan, Medina
;x	Svari
;x		3S
;x			Initial: CT Beersheba
;x			Where: N of Beersheba
;x			Initial: CT Hebron
;x			Where: N of Hebron
;x			Initial: CT Jericho
;x			Where: E of Jericho
;x		2KS
;x			Initial: CT Jerusalem
;x		Repl:	UK & RT Jerus Capture
;x		Where: E of Jericho
;x	Anatolians, Syrians
;x		Keep the same
;
;-		Assume RR on 2/16
;x		Prevent RR bonus in OOB cities
;x		Fix 7 Inf & 1 Cav Div productions
;x			Div Train -> Inf, Cav HQ; axes = 1
;x			Supply Line mining bonus = 2
;x			Mining gfx = MT symbol?
;x			Camp (Mining) -> ASC Dept?
;-			Cav Train 2 -> Div Train; axe = 2
;x		Fix CC OOB cities
;x			ECG, BCC, GHQ
;-			Use AVC Depot for axes?
;x		Preq = Mob, $ = 50 ... allows for emergency builds.
;x CT Sollum by Allies -> CU CSIC
;x add CP Ikhawan -> CU Ikhawan in Cyrenaica
;x fix Tribal Vols (irr?) near Rafa
;x Add more x,ys to CP TV -> CU TV
;x RT 40th AW -> add CU 4x ltaa
;x 5/17 or CT Khan -> raze MEF LAMBs
;x check logic of CU Gebirgshaubitz
;x	1. CT Romani
;x	2. CT Um Lejj
;x	3. RT Autokolonne Turkei
;x	4. UK Gebirgshaubitz
;- add UK HRS -> CU Gebirgshaubitz
;x check logic of ET Bull
;x	5/17 -> ET ; Ax- from start
;x	Gazas Capture -> SF Ax+
;x	RT The Bull & CF A32- -> txt1
;x	RT The Bull & CF A32+ -> txt2
;x UK U-Boat CF Ax- -> MU U-Boat south
;x UK U-Boat CF Ax+ -> MU U-Boat north
;- CF A11,14+ -> disable Bedouins transport?

;x RT El Aurens -> SFA1+
;x CT Wejh & CFA1+ -> CU Lawrence; GT Wejhs Capture; Txt

;Hex map0 into continents
;x	1. Mediterranean
;x	2. Northern Sinai, Palestine, Syria, East Nile Delta (Cairo to Port Said)
;x	3. Iraq
;x	4. Nefud to Tadmur
;x	5. Hejaz
;x	6. Transjordan
;x	7. Red Sea
;x	8. Western Desert - SE of Qattara, including all of eastern Egypt
;x	9. Western Desert - NW of Qattara
;x	A. Fezzan
;x	B. Cyrenaica
;x	C. Cyprus
;x	D. Shammar?
;x	3F. Lakes

;x Fix IEF build
;x Fix to Red Sea
; 
;x Replace To Assuan with CS It Palestina (Corpo di Spedizione Italiano in Palestina)
;Syrian Gates
;x RT Syrian Gates -> SFA4+
;x T3/16 & CFA4+ -> Raze ANDS, MMH, DFPS
;x T3/16 & CFA4- -> Raze RNEMS
;x Fix Turabah Camel Arty bug
;x Can new gfx be used in Deraa and Jeida rsrc squares?
;x Elim 3 LAMB
;x 4 Ford Lt Cars homed to WFF
;x CP ASC MT Workshop -> Link W Frontier F
;x PoT in Assuan
;x RIM EI: troopship -> gunboat
;x Forts under minefields
;x Railhead names
;x Rmv link from Garasha to Gaza
;x Add 2-3 Jandarma ea to Rabegh and Jidda
;x Add 1 Jandarma to Umm Lejj
;x Add mujahid to turabah
;xFix Bedouin mvt OOB->Main

;Gonsool Shayk Speer 
;- RT Gonsool Shayk Speer -> SFA2+; Raze Sharifians
;- RT An Arab Revolt & CF A2+ -> CU Shakespear, Abdul Aziz; Txt
;x RT An Arab Revolt & CF A2- -> CU Boundary; Link Sharifians; Txt
;- CF A2- -> CU Ikhawan (Tur, not JO)
;- RT Meccas Capture & CF A2+ -> CU 3x Ibn Hussein, 3x Tribal Vols
;- RT Meccas Capture & CF A2- -> Txt
;- UK Shakespear -> SF A14+; Raze Bedus

;Abram and Moses
;x RT Abram and Moses -> SFA3+
; CF A3+ -> Raze 2 Mtd (I)
; CF A3+ -> Raze NHM, 1 AC Bty
; RT Euphrates Force & CFA3+ -> Link MEF

;x Revise stats for Turk Svari
;x  Deploy 1 regt in Ogh
;x Revise stats for Tribal Vols?
;x  MF=10, but not alpine?
;x  Revise mf costs in Sudan?
;x Change trigger for Gebirgshaubitz
;x  Not UK Hejaz Rwy Stn
;x  CT Umm Lejj
;x  CT Wejh
;x  CT Jeida
;x Change trigger for Larry to RT Audas Irregs & RT Wejhs Capture
;x T3/17, etc. triggers for Redoubt Systems of Gaza Line
;x  Rmv menu options?
;x Fix CP Mujahid -> CU Ikhawan (Sudan).  Nuba and Mara mtns.  Ikhawan -> TVols
;x Ren KuK OK to OGK Yildirim, Home all Dept Regts to it.
;x Move DMC wake up from 24,0 to 22,2
;x Move 11,12 LAMB wake up to 2,36
;x Fort at 17,103; 11,101; 6,98; -Fort at 4,98
;x Fix Redoubt System deployment at Gaza 76,44
;x None Nature RE on map 3
;x 2 Jandarma in El Jefir
;x Mtd Infantry in Maghdaba
;x Activate WFF from 2,28 not 0,26
;x Fort, 2 x Guard in 50,114,2
;x Entrench RN Egypt Div Guard
;x Rename EA of the Sudan to Egyptian Army
;x Change land mass of Arabian Det
;x Change vis of 30,38,0
;x Weaken defense of El Arish
;x Fix CP Mujahid -> CU Ikhawan (Sudan).  Map=3 not 1
;x Fix CF T11- -> CU *Tren*
;x Check hrwy Tren events
;x Swap LCP home cities
;x Rmv 1 LCP (4 WFF, 4 GHQ, 1 DFF, 1 MEF)
;x Increase ELCC cost to $130
;+ MU CSIC to Slonta: UK anyunit -> MU Agedabia
;x Recolor trees in map3 fertile land
;x Hex vis of Blue Nile
;x Suppress hods, marakh in WD, Hejaz, and Syria
;x Hex Medinas visibility
;x Raze Euphrates Force, etc.
;x CT Gaza -> GT Gazas Capture
;x CT Siwa -> GT Siwas Capture
;x f 64,104
;x Repl Guards with Mines in Red Sea Patrol, RNED
;x Set Sharifians axes to 6 at start
;x Add 1 Bedouins to Sharifians at start
;x RT Labour Conscription -> CU RE/Works Coy (Rwy Op Div)
;x create khartoum gunboat
;x fix wake up of e tank, 11,12 LAMB
;x fix CT Akaba: deploy EA Inf in Akaba Docks; change CU event to wake up; incr NHM capacity
;x fix wake up of DMC arty
;x fix wake up of 4th ALH

;x fix ;wake up didnt work
;old @SUPPORT: To meet pressing demands on other fronts, the %STRING1 unit of the %STRING0 has ceased to belong to the EEF.

;x hex vis of reidxed cities
;x hex build of Saudis
;x hex land mass of 69,67
;x hex xport settings for Garrison Bn
;x edit unit names in events: Agayl Camelry, Ford Lt Cars, Tren, Picquet Line, 
;x CP Garrison Bn -> CU Garrison Bn (LoC Defence)
;x CT Sollum -> GT CSIC near Bardia (Italians); CU 2x Garrison Bn, 1x AutoMG
;x CF no Shakespear -> CU Ikhawan (Jarab); MU Ikhawan (Hail)
;x T6.18 -> CU 5x Ikhawan by Khurma
;x BU Picquet Line -> CU Syrians 106,110 (home=Taif)?

;x Fix NHM reinfs
;x Fix DFdP reinfs
;x Fix JL reinfs
;x Hex founder of Jaffa, Gaza, Hebron, Jericho to Allies
;x Hex food surplus into oob cities
;x Hex vis of new oob cities
;x replace Lt Arm Motor Btys with Lt Car Patrols
;x Change accum axes in Arab Armies to 0
;x Check t0 units N of Aleppo
;x Strengthen Nablus line
;x Change Convoy Organized dialog
;ss.dll: edit structure sequence
;x ss.dll: blank out components, modules
;- ss.dll: arrow for 1L/480/1033
;- ss.dll: arrow for 1A/489/1033
;x change text for launch button: negotiate->Start
;x ss.dll: remove button frame from 499/1033
;x ss.dll: length Odds" frame in 499/1033
;x labels: contract duration-> elc term remaining

;x change penalty for UK Turk unit to 50
;- hex ss component ct on T0
;x ss component = 2x Coy not Departure Ttbl
;x withdrawal warning: 17 Sqn
;x ss component types > Quarrying, Transport Labour
;x NYT quotes in @CENTAURI
;x CT Aleppo > Negotiator A+
;x RT WF Withdrawals > SF A21+
;x CF A21+ & T9/18 > BI Bulgarian Armistice
;x CF A21+ & T10/18 -> BI German Armistice
;x CT Damascus -> GT Damascus Capture
;x Damascus Capture = preq for Mudros
;x review euphrates force

;x Mstafiz in 96,94
;x Hejaz cities founded by Allies
;x T12.16 -> CU 2x Syrians (Lith)

;xRevamp Spaceship (SS) scheme
;x	Replace gfx in ss.dll
;x		Structures = maps
;x			Move front line from 1/16 to 3/18
;+		Components = blanks not arrows
;+		Modules = blanks not arrows
;x	Where is the launched ss stored? Intro.dll/902/1033
;+	Module = Troop Escorts
;+		Japanese
;+		French
;+		English
;x		Mob=preq, $ = 100
;		
;- Bir Hakim pop: 2>1 on 4/16?

;x remove off switch for FA 300
;x fix impassable terrain homes in Sinai
;x redoubt in Nablus (AsKorps)
;x edit Nablus line Terrain, 4x Redoubt System, 2x Picquet Line
;x RT WF Withdrawals -> BI 2x Repl Draft Camp
;x CF A21+ & 10/18 -> Raze AsKorps, FA 300
;x Picquet line in Raqqa (Aleppo)
;x NHM Scouts = vet
;x 2 more Mstafiz in Kerak
;x reduce maint for Kasr to 0
;x increase maint for General Headquarters and Repl Draft Camp
;x Shakespear -> Camel Coy
;x Camel Coy -> Orientkorps
;x cheat all but 2 Labour Corps 2x Coy at start
;x hex food storage of El Jefir to 2
;- remove Native Admins from Ruwalla
;x hex intermap settings for Camel Coy, Arab Regs
;x hex nile flotilla to prevent ship builds
